diff options
author | frosch <frosch@openttd.org> | 2011-05-14 17:33:26 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-05-14 17:33:26 +0000 |
commit | e55f849a29e45227fbe9611badbdf846bbd8d866 (patch) | |
tree | f9198d1166861918462580b815d154a49eff7621 /src/newgrf_industrytiles.cpp | |
parent | 7415b9cca278e86db5ba00b84aa535057279ef37 (diff) | |
download | openttd-e55f849a29e45227fbe9611badbdf846bbd8d866.tar.xz |
(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately.
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-rw-r--r-- | src/newgrf_industrytiles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index 994d068f6..9d38ab5af 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -176,7 +176,7 @@ static void NewIndustryTileResolver(ResolverObject *res, IndustryGfx gfx, TileIn static void IndustryDrawTileLayout(const TileInfo *ti, const TileLayoutSpriteGroup *group, byte rnd_colour, byte stage, IndustryGfx gfx) { - const DrawTileSprites *dts = group->dts; + const DrawTileSprites *dts = &group->dts; SpriteID image = dts->ground.sprite; PaletteID pal = dts->ground.pal; |