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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user