1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

fixed typo

This commit is contained in:
AlexVinS 2016-09-10 19:38:14 +03:00
parent b7509f588f
commit f36b40e311

View File

@ -1402,7 +1402,7 @@ void CBattleInterface::castThisSpell(SpellID spellID)
spellDestSelectMode = true;
creatureCasting = false;
//choosing possible tragets
//choosing possible targets
const CGHeroInstance * castingHero = (attackingHeroInstance->tempOwner == curInt->playerID) ? attackingHeroInstance : defendingHeroInstance;
assert(castingHero); // code below assumes non-null hero
sp = spellID.toSpell();