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