(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:
rubidium
2009-01-02 22:42:05 +00:00
parent 2086fbcf17
commit 1357b0a4c2
20 changed files with 59 additions and 31 deletions

View File

@@ -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;
}