Browse Source

Missing part of fix for #871.

Michał W. Urbańczyk 13 years ago
parent
commit
37d3bea0a9
1 changed files with 1 additions and 1 deletions
  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);