(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
This commit is contained in:
@@ -355,9 +355,12 @@ static TrackStatus GetTileTrackStatus_Unmovable(TileIndex tile, TransportType mo
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void ClickTile_Unmovable(TileIndex tile)
|
||||
static bool ClickTile_Unmovable(TileIndex tile)
|
||||
{
|
||||
if (IsCompanyHQ(tile)) ShowCompany(GetTileOwner(tile));
|
||||
if (!IsCompanyHQ(tile)) return false;
|
||||
|
||||
ShowCompany(GetTileOwner(tile));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user