1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-11 14:49:23 +02:00

Fixed bug 43.

This commit is contained in:
Frank Zago 2009-10-23 03:07:03 +00:00
parent 1c54c639e4
commit 04ea5deb01

View File

@ -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)
{