1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

CastleInterface: Fix tooltip saying Empty after swapping armies

This commit is contained in:
Sandy Carter 2015-08-24 14:45:25 -04:00
parent b2da2b8ef0
commit 219ce45866

View File

@ -381,7 +381,10 @@ void CHeroGSlot::clickLeft(tribool down, bool previousState)
other->setHighlight(false);
if(allow)
{
owner->swapArmies();
hero = other->hero;
}
}
else if(hero)
{