Browse Source

Fixed bug 43.

Frank Zago 16 years ago
parent
commit
04ea5deb01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/CCastleInterface.cpp

+ 1 - 1
client/CCastleInterface.cpp

@@ -274,7 +274,7 @@ void CHeroGSlot::clickLeft(tribool down, bool previousState)
 		else if(other->hero && other->highlight)
 		{
 			bool allow = true;
-			if(!upg) //moving hero out of town - check if it is allowed
+			if(upg) //moving hero out of town - check if it is allowed
 			{
 				if(!hero && LOCPLINT->cb->howManyHeroes(false) >= 8)
 				{