Browse Source

Turret creature cutoff position should match H3

Ivan Savenko 2 years ago
parent
commit
49fa628e9b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      client/battle/BattleStacksController.cpp

+ 2 - 1
client/battle/BattleStacksController.cpp

@@ -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