1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

corrected text in vcmibuilder, corrected errors and warnings from cppcheck

This commit is contained in:
KroArtem
2014-11-16 20:48:29 +03:00
parent 885b495cf4
commit e73c60740c
10 changed files with 21 additions and 18 deletions

View File

@ -3389,7 +3389,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
break;
}
if(destinationStack && stack->ID == destinationStack->ID) //we should just move, it will be handled by following check
if(destinationStack && stack && stack->ID == destinationStack->ID) //we should just move, it will be handled by following check
{
destinationStack = nullptr;
}