浏览代码

Missing part of fix for #871.

Michał W. Urbańczyk 13 年之前
父节点
当前提交
37d3bea0a9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/BattleInterface/CBattleInterface.cpp

+ 1 - 1
client/BattleInterface/CBattleInterface.cpp

@@ -1052,7 +1052,7 @@ void CBattleInterface::mouseMoved(const SDL_MouseMotionEvent &sEvent)
 							console->alterText (consoleMsg);
 							console->whoSetAlter = 0;
 						}
-						else if (isTileAttackable(myNumber)) //available enemy (melee attackable)
+						else if (shere->alive() && isTileAttackable(myNumber)) //available enemy (melee attackable)
 						{
 							//handle direction of cursor and attackable tile
 							setBattleCursor(myNumber);