(svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use.

This commit is contained in:
peter1138 2007-01-17 12:57:35 +00:00
parent 8c54793068
commit 61f5cf9b6f
1 changed files with 1 additions and 1 deletions

View File

@ -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;