Explorar el Código

Turret creature cutoff position should match H3

Ivan Savenko hace 2 años
padre
commit
49fa628e9b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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