mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 06:46:43 +00:00
(svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use.
This commit is contained in:
parent
8c54793068
commit
61f5cf9b6f
@ -2078,7 +2078,7 @@ static void DrawTile_Station(TileInfo *ti)
|
|||||||
SpriteID pal;
|
SpriteID pal;
|
||||||
|
|
||||||
image = dtss->image;
|
image = dtss->image;
|
||||||
if (HASBIT(image, SPRITE_MODIFIER_USE_OFFSET)) {
|
if (relocation == 0 || HASBIT(image, SPRITE_MODIFIER_USE_OFFSET)) {
|
||||||
image += rti->total_offset;
|
image += rti->total_offset;
|
||||||
} else {
|
} else {
|
||||||
image += relocation;
|
image += relocation;
|
||||||
|
Loading…
Reference in New Issue
Block a user