1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

allow opening Buy Boat dialog on clicking shipyard on advmap when a town is selected

This commit is contained in:
Andrey Filipenkov 2023-01-21 15:58:12 +03:00
parent a19c9eccc4
commit a4e8255cbc

View File

@ -1594,7 +1594,6 @@ void CAdvMapInt::tileLClicked(const int3 &mapPos)
LOCPLINT->openTownWindow(static_cast<const CGTownInstance*>(topBlocking));
else if(canSelect)
select(static_cast<const CArmedInstance*>(topBlocking), false);
return;
}
else if(const CGHeroInstance * currentHero = curHero()) //hero is selected
{