Browse Source

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

Andrey Filipenkov 2 năm trước cách đây
mục cha
commit
a4e8255cbc
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      client/windows/CAdvmapInterface.cpp

+ 0 - 1
client/windows/CAdvmapInterface.cpp

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