浏览代码

Turret creature cutoff position should match H3

Ivan Savenko 2 年之前
父节点
当前提交
49fa628e9b
共有 1 个文件被更改,包括 2 次插入1 次删除
  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