summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-05-14 17:33:26 +0000
committerfrosch <frosch@openttd.org>2011-05-14 17:33:26 +0000
commite55f849a29e45227fbe9611badbdf846bbd8d866 (patch)
treef9198d1166861918462580b815d154a49eff7621 /src/newgrf_house.cpp
parent7415b9cca278e86db5ba00b84aa535057279ef37 (diff)
downloadopenttd-e55f849a29e45227fbe9611badbdf846bbd8d866.tar.xz
(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately.
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r--src/newgrf_house.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp
index 44e0347ac..f9fb4b16b 100644
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -412,7 +412,7 @@ uint16 GetHouseCallback(CallbackID callback, uint32 param1, uint32 param2, House
static void DrawTileLayout(const TileInfo *ti, const TileLayoutSpriteGroup *group, byte stage, HouseID house_id)
{
- const DrawTileSprites *dts = group->dts;
+ const DrawTileSprites *dts = &group->dts;
const HouseSpec *hs = HouseSpec::Get(house_id);
PaletteID palette = hs->random_colour[TileHash2Bit(ti->x, ti->y)] + PALETTE_RECOLOUR_START;