mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix client & server compilation
This commit is contained in:
@@ -144,7 +144,7 @@ void PlayerMessageProcessor::cheatGiveSpells(PlayerColor player, const CGHeroIns
|
||||
//start with level 0 to skip abilities
|
||||
for (int level = 1; level <= GameConstants::SPELL_LEVELS; level++)
|
||||
{
|
||||
giveBonus.bonus.subtype = level;
|
||||
giveBonus.bonus.subtype = BonusSubtypes::spellLevel(level);
|
||||
gameHandler->sendAndApply(&giveBonus);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user