mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
compile fix.
This commit is contained in:
@@ -3970,7 +3970,7 @@ void CGameHandler::handleSpellCasting( int spellID, int spellLvl, BattleHex dest
|
|||||||
sc.tile = destination;
|
sc.tile = destination;
|
||||||
sc.dmgToDisplay = 0;
|
sc.dmgToDisplay = 0;
|
||||||
sc.castedByHero = (bool)caster;
|
sc.castedByHero = (bool)caster;
|
||||||
sc.attackerType = (stack ? stack->type->idNumber : CreatureID::NONE);
|
sc.attackerType = (stack ? stack->type->idNumber : CreatureID(CreatureID::NONE));
|
||||||
sc.manaGained = 0;
|
sc.manaGained = 0;
|
||||||
sc.spellCost = 0;
|
sc.spellCost = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user