summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.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_industrytiles.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_industrytiles.cpp')
-rw-r--r--src/newgrf_industrytiles.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp
index 3d6d5ae6e..2ca61fd01 100644
--- a/src/newgrf_industrytiles.cpp
+++ b/src/newgrf_industrytiles.cpp
@@ -177,8 +177,8 @@ void IndustryDrawTileLayout(const TileInfo *ti, const SpriteGroup *group, byte r
const DrawTileSprites *dts = group->g.layout.dts;
const DrawTileSeqStruct *dtss;
- SpriteID image = dts->ground_sprite;
- SpriteID pal = dts->ground_pal;
+ SpriteID image = dts->ground.sprite;
+ SpriteID pal = dts->ground.pal;
if (IS_CUSTOM_SPRITE(image)) image += stage;