diff options
author | peter1138 <peter1138@openttd.org> | 2007-01-17 12:57:35 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-01-17 12:57:35 +0000 |
commit | c6aeab5cb8ebfaf000a363835acb2efe6b7840e3 (patch) | |
tree | 7b4b0409bf6421bc43b0975b1a1dbc17d846a39a | |
parent | bdb9543f7c9afce507d0f89136f4040c12cff78c (diff) | |
download | openttd-c6aeab5cb8ebfaf000a363835acb2efe6b7840e3.tar.xz |
(svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use.
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |