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:
@ -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]++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user