summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-02-17 21:07:32 +0000
committerfrosch <frosch@openttd.org>2010-02-17 21:07:32 +0000
commit239279e795669ee0ffd3d44409c2d1f9dc729d87 (patch)
treefaa4162595e06d9cfefc694eece1716ddf2beef3
parentafd6fe547e0dcfeca8fdc0153622e4588fbc8d95 (diff)
downloadopenttd-239279e795669ee0ffd3d44409c2d1f9dc729d87.tar.xz
(svn r19153) -Fix [FS#pm](r19056): PBS reservation was drawn incorrectly for depots.
-rw-r--r--src/rail_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index 92a80aed0..040abc7c8 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -2203,8 +2203,8 @@ static void DrawTile_Track(TileInfo *ti)
/* PBS debugging, draw reserved tracks darker */
if (_game_mode != GM_MENU && _settings_client.gui.show_track_reservation && HasDepotReservation(ti->tile)) {
switch (GetRailDepotDirection(ti->tile)) {
- case DIAGDIR_SW: DrawGroundSprite(rti->base_sprites.single_y, PALETTE_CRASH); break;
- case DIAGDIR_SE: DrawGroundSprite(rti->base_sprites.single_x, PALETTE_CRASH); break;
+ case DIAGDIR_SW: DrawGroundSprite(rti->base_sprites.single_x, PALETTE_CRASH); break;
+ case DIAGDIR_SE: DrawGroundSprite(rti->base_sprites.single_y, PALETTE_CRASH); break;
default: break;
}
}