summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-02-15 18:40:42 +0000
committerfrosch <frosch@openttd.org>2008-02-15 18:40:42 +0000
commita40d761d7fc608359b46694f7259c2699ef8cf0c (patch)
tree2cd7d2f6b962e9d7a99091f185e1a5aa591f0784 /src/newgrf_station.cpp
parentfd0f57a79485641b632da4525e28ae397c892e54 (diff)
downloadopenttd-a40d761d7fc608359b46694f7259c2699ef8cf0c.tar.xz
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
Diffstat (limited to 'src/newgrf_station.cpp')
-rw-r--r--src/newgrf_station.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp
index 9909cba7e..8c0b0ac29 100644
--- a/src/newgrf_station.cpp
+++ b/src/newgrf_station.cpp
@@ -772,7 +772,7 @@ bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID
sprites = &statspec->renderdata[(tile < statspec->tiles) ? tile + axis : (uint)axis];
}
- image = sprites->ground_sprite;
+ image = sprites->ground.sprite;
if (HasBit(image, SPRITE_MODIFIER_USE_OFFSET)) {
image += GetCustomStationGroundRelocation(statspec, NULL, INVALID_TILE);
image += rti->custom_ground_offset;