summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-02-15 18:34:26 +0000
committerfrosch <frosch@openttd.org>2008-02-15 18:34:26 +0000
commitfd0f57a79485641b632da4525e28ae397c892e54 (patch)
tree544af23a50941f98e7474ad050d5e19ccf172f8c /src/newgrf_station.cpp
parentcedca22c6010ec5fe8aedf375177981d0a5e8962 (diff)
downloadopenttd-fd0f57a79485641b632da4525e28ae397c892e54.tar.xz
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct 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 626e50821..9909cba7e 100644
--- a/src/newgrf_station.cpp
+++ b/src/newgrf_station.cpp
@@ -784,7 +784,7 @@ bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID
foreach_draw_tile_seq(seq, sprites->seq) {
Point pt;
- image = seq->image;
+ image = seq->image.sprite;
if (HasBit(image, SPRITE_MODIFIER_USE_OFFSET)) {
image += rti->total_offset;
} else {