diff options
author | smatz <smatz@openttd.org> | 2008-09-11 21:53:59 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-11 21:53:59 +0000 |
commit | 37edc141e2f9d398bbd4bb3b705b15dc8d04bb3d (patch) | |
tree | c6fc723acaebe7ffe523324c38db25f97a85a106 /src/road_cmd.cpp | |
parent | 80b0671cc9dbb477cbba83f75818ee3f2616af77 (diff) | |
download | openttd-37edc141e2f9d398bbd4bb3b705b15dc8d04bb3d.tar.xz |
(svn r14293) -Change: do not show PBS track reservation in the intro game
Diffstat (limited to 'src/road_cmd.cpp')
-rw-r--r-- | src/road_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index cea81bca7..900dbbd1a 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -1183,7 +1183,7 @@ static void DrawTile_Road(TileInfo *ti) DrawGroundSprite(image, pal); /* PBS debugging, draw reserved tracks darker */ - if (_settings_client.gui.show_track_reservation && GetCrossingReservation(ti->tile)) { + if (_game_mode != GM_MENU && _settings_client.gui.show_track_reservation && GetCrossingReservation(ti->tile)) { DrawGroundSprite(GetCrossingRoadAxis(ti->tile) == AXIS_Y ? GetRailTypeInfo(GetRailType(ti->tile))->base_sprites.single_y : GetRailTypeInfo(GetRailType(ti->tile))->base_sprites.single_x, PALETTE_CRASH); } |