mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Implement missing functions, fixes linking errors
This commit is contained in:
@@ -898,7 +898,7 @@ void BattleActionsController::tryActivateStackSpellcasting(const CStack *casterS
|
||||
for(const auto & bonus : *bl)
|
||||
{
|
||||
if (bonus->additionalInfo[0] <= 0)
|
||||
creatureSpells.push_back(SpellID(bonus->subtype).toSpell());
|
||||
creatureSpells.push_back(bonus->subtype.as<SpellID>().toSpell());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user