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

Merge remote-tracking branch 'remotes/origin/develop' into SpellsRefactoring4

This commit is contained in:
AlexVinS
2014-11-24 12:41:17 +03:00
20 changed files with 97 additions and 69 deletions

View File

@ -3390,7 +3390,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;
}