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:
parent
b2da2b8ef0
commit
219ce45866
@ -381,7 +381,10 @@ void CHeroGSlot::clickLeft(tribool down, bool previousState)
|
||||
other->setHighlight(false);
|
||||
|
||||
if(allow)
|
||||
{
|
||||
owner->swapArmies();
|
||||
hero = other->hero;
|
||||
}
|
||||
}
|
||||
else if(hero)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user