diff --git a/server/CGameHandler.cpp b/server/CGameHandler.cpp index aa6c16dd5..b6691ef32 100644 --- a/server/CGameHandler.cpp +++ b/server/CGameHandler.cpp @@ -1030,11 +1030,11 @@ void CGameHandler::setupBattle( BattleInfo * curB, int3 tile, const CCreatureSet for(unsigned g=0; gposition%17)==1 && stacks[g]->hasFeatureOfType(StackFeature::DOUBLE_WIDE)) + if((stacks[g]->position%17)==1 && stacks[g]->hasFeatureOfType(StackFeature::DOUBLE_WIDE) && stacks[g]->attackerOwned) { stacks[g]->position += 1; } - else if((stacks[g]->position%17)==15 && stacks[g]->hasFeatureOfType(StackFeature::DOUBLE_WIDE)) + else if((stacks[g]->position%17)==15 && stacks[g]->hasFeatureOfType(StackFeature::DOUBLE_WIDE) && !stacks[g]->attackerOwned) { stacks[g]->position -= 1; }