From 0ac3d9be83fdfd5d6e833bb660c2a56e34b90d4a Mon Sep 17 00:00:00 2001 From: mateuszb Date: Sat, 17 Oct 2009 14:05:44 +0000 Subject: [PATCH] * fix for bug 70 --- client/CBattleInterface.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/CBattleInterface.cpp b/client/CBattleInterface.cpp index 45af91e23..1bf9e66e1 100644 --- a/client/CBattleInterface.cpp +++ b/client/CBattleInterface.cpp @@ -2445,9 +2445,13 @@ void CBattleInterface::hexLclicked(int whichOne) } } - giveCommand(6, attackFromHex, activeStack, whichOne); + if(attackFromHex >= 0) //we can be in this line when unreachable creature is L - clicked (as of revision 1308) + { + giveCommand(6, attackFromHex, activeStack, whichOne); + + CGI->curh->changeGraphic(1, 6); //cursor should be changed + } - CGI->curh->changeGraphic(1, 6); //cursor should be changed } } }