diff options
author | frosch <frosch@openttd.org> | 2008-02-15 18:34:26 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-02-15 18:34:26 +0000 |
commit | ae996a270b4b13b1130249e9249b3fa92caed3d9 (patch) | |
tree | 544af23a50941f98e7474ad050d5e19ccf172f8c /src/newgrf_house.cpp | |
parent | 03315e88e3f67714541123fa23384b31c61b2ead (diff) | |
download | openttd-ae996a270b4b13b1130249e9249b3fa92caed3d9.tar.xz |
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r-- | src/newgrf_house.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp index 44b615f2b..7202f80ac 100644 --- a/src/newgrf_house.cpp +++ b/src/newgrf_house.cpp @@ -297,10 +297,10 @@ void DrawTileLayout(const TileInfo *ti, const SpriteGroup *group, byte stage, Ho 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; |