Skip to content

Commit

Permalink
Fixed #746 (2-hex units on the left edge of combat field).
Browse files Browse the repository at this point in the history
git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@2448 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834
  • Loading branch information
yupsi committed Oct 16, 2011
1 parent 681a1d5 commit 69eeab8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/BattleState.cpp
@@ -1,4 +1,4 @@
#define VCMI_DLL
#define VCMI_DLL
#include "BattleState.h"
#include <fstream>
#include <queue>
Expand Down Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 69eeab8

Please sign in to comment.