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:
parent
f426a48d09
commit
f9f0fe9d97
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user