From fd0f57a79485641b632da4525e28ae397c892e54 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 15 Feb 2008 18:34:26 +0000 Subject: (svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID --- src/newgrf_industrytiles.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/newgrf_industrytiles.cpp') diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index 0a964d115..3d6d5ae6e 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -185,10 +185,10 @@ void IndustryDrawTileLayout(const TileInfo *ti, const SpriteGroup *group, byte r if (GB(image, 0, SPRITE_WIDTH) != 0) DrawGroundSprite(image, pal); foreach_draw_tile_seq(dtss, dts->seq) { - if (GB(dtss->image, 0, SPRITE_WIDTH) == 0) continue; + if (GB(dtss->image.sprite, 0, SPRITE_WIDTH) == 0) continue; - image = dtss->image; - pal = dtss->pal; + image = dtss->image.sprite; + pal = dtss->image.pal; if (IS_CUSTOM_SPRITE(image)) image += stage; -- cgit v1.2.3-70-g09d2