Browse Source

Fixed #746 (2-hex units on the left edge of combat field).

yupsi 14 years ago
parent
commit
4c2bbad18e
1 changed files with 3 additions and 2 deletions
  1. 3 2
      lib/BattleState.cpp

+ 3 - 2
lib/BattleState.cpp

@@ -1,4 +1,4 @@
-#define VCMI_DLL
+#define VCMI_DLL
 #include "BattleState.h"
 #include <fstream>
 #include <queue>
@@ -1527,7 +1527,8 @@ BattleInfo * BattleInfo::setupBattle( int3 tile, int terrain, int terType, const
 		}
 		else if(stacks[g]->doubleWide() && !stacks[g]->attackerOwned)
 		{
-			stacks[g]->position += THex::LEFT;
+			if (stacks[g]->position.getX() > 1)
+				stacks[g]->position += THex::LEFT;
 		}
 	}