1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

- fixed some extra warnings. Mostly harmless.

NOTE: Please check changes in BattleState.cpp and GameHandler.cpp for possible bugs
This commit is contained in:
Ivan Savenko
2012-05-28 19:29:32 +00:00
parent 61ccabde53
commit faaf799d95
18 changed files with 24 additions and 24 deletions

View File

@ -1200,7 +1200,7 @@ DLL_LINKAGE void BattleSpellCast::applyGs( CGameState *gs )
vstd::amax(h->mana, 0);
if (enemy && manaGained)
enemy->mana += manaGained;
if (side >= 0 && side < 2)
if (side < 2)
{
gs->curB->castSpells[side]++;
}