From 61f5cf9b6f559b625c032c0f66354cc3d95a016e Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 17 Jan 2007 12:57:35 +0000 Subject: (svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use. --- src/station_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 236a716a6..e3598ba55 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2078,7 +2078,7 @@ static void DrawTile_Station(TileInfo *ti) SpriteID pal; image = dtss->image; - if (HASBIT(image, SPRITE_MODIFIER_USE_OFFSET)) { + if (relocation == 0 || HASBIT(image, SPRITE_MODIFIER_USE_OFFSET)) { image += rti->total_offset; } else { image += relocation; -- cgit v1.2.3-70-g09d2