1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Turret creature cutoff position should match H3

This commit is contained in:
Ivan Savenko 2023-03-25 19:20:57 +02:00
parent dcff463d36
commit 49fa628e9b

View File

@ -184,7 +184,8 @@ void BattleStacksController::stackReset(const CStack * stack)
void BattleStacksController::stackAdded(const CStack * stack, bool instant)
{
// Tower shooters have only their upper half visible
static const int turretCreatureAnimationHeight = 225;
// FIXME: causes issues in Dungeon - visible animation of Medusa tails (animation disabled in H3)
static const int turretCreatureAnimationHeight = 232;
stackFacingRight[stack->ID] = stack->side == BattleSide::ATTACKER; // must be set before getting stack position