1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

* minor fix in IGameCallback::getAllowedSpells

This commit is contained in:
mateuszb
2009-09-25 09:33:59 +00:00
parent 66541027b5
commit 45e60cc826

View File

@@ -200,7 +200,7 @@ void IGameCallback::getAllowedSpells(std::vector<ui16> &out, ui16 level)
spell = &(VLC->spellh->spells[i]);
if (isAllowed (0, spell->id) && spell->level == level)
{
out.push_back(i);
out.push_back(spell->id);
}
}
}