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 | 61f5cf9b6f559b625c032c0f66354cc3d95a016e (patch) | |
tree | 7b4b0409bf6421bc43b0975b1a1dbc17d846a39a | |
parent | 8c547930686ae662b26dbe93362c05e6e4227ac1 (diff) | |
download | openttd-61f5cf9b6f559b625c032c0f66354cc3d95a016e.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; |