Explorar o código

Missing part of fix for #871.

Michał W. Urbańczyk %!s(int64=13) %!d(string=hai) anos
pai
achega
37d3bea0a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);