Browse Source

Missing part of fix for #871.

Michał W. Urbańczyk 13 năm trước cách đây
mục cha
commit
37d3bea0a9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);