1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Likely fixed #920.

This commit is contained in:
Michał W. Urbańczyk 2012-04-08 20:49:16 +00:00
parent f426a48d09
commit f9f0fe9d97

View File

@ -141,7 +141,7 @@ CAttackAnimation::CAttackAnimation(CBattleInterface *_owner, const CStack *attac
assert(attackingStack && "attackingStack is NULL in CBattleAttack::CBattleAttack !\n");
bool isCatapultAttack = attackingStack->hasBonusOfType(Bonus::CATAPULT)
&& owner->curInt->cb->battleGetWallUnderHex(_dest);
&& owner->curInt->cb->battleGetWallUnderHex(_dest) >= 0;
assert(attackedStack || isCatapultAttack);
attackingStackPosBeforeReturn = attackingStack->position;