1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Typo: cast is an irregular verb.

This commit is contained in:
Frank Zago
2009-05-12 03:35:51 +00:00
parent 68d106ff1a
commit 788343dd1d
15 changed files with 38 additions and 38 deletions

View File

@@ -2392,11 +2392,11 @@ bool CGameHandler::makeCustomAction( BattleAction &ba )
if( !(h->canCastThisSpell(s)) //hero cannot cast this spell at all
|| (h->mana < s->costs[skill]) //not enough mana
|| (ba.additionalInfo < 10) //it's adventure spell (not combat)
|| (gs->curB->castedSpells[ba.side]) //spell has been casted
|| (gs->curB->castSpells[ba.side]) //spell has been cast
|| (gs->battleMaxSpellLevel() < s->level) //non - casting hero stops caster from casting this spell
)
{
tlog2 << "Spell cannot be casted!\n";
tlog2 << "Spell cannot be cast!\n";
return false;
}
@@ -2404,7 +2404,7 @@ bool CGameHandler::makeCustomAction( BattleAction &ba )
//TODO: check resistances
SpellCasted sc;
SpellCast sc;
sc.side = ba.side;
sc.id = ba.additionalInfo;
sc.skill = skill;