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

#463 and #571 should be fixed now

This commit is contained in:
mateuszb
2011-01-18 18:54:53 +00:00
parent 98494a5e6f
commit a9c98d2b8c
3 changed files with 16 additions and 7 deletions

View File

@ -893,7 +893,7 @@ bool CMeleeAttack::init()
int revShiftattacker = (attackingStack->attackerOwned ? -1 : 1);
int mutPos = THex::mutualPosition(attackingStackPosBeforeReturn, dest);
if(mutPos == -1 && attackedStack->doubleWide())
if(mutPos == -1 && attackingStack->doubleWide())
{
mutPos = THex::mutualPosition(attackingStackPosBeforeReturn + revShiftattacker, attackedStack->position);
}