(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately.

This commit is contained in:
frosch
2011-05-14 17:33:26 +00:00
parent 7415b9cca2
commit e55f849a29
7 changed files with 19 additions and 25 deletions

View File

@@ -264,7 +264,7 @@ uint16 GetAirportTileCallback(CallbackID callback, uint32 param1, uint32 param2,
static void AirportDrawTileLayout(const TileInfo *ti, const TileLayoutSpriteGroup *group, byte colour, StationGfx gfx)
{
const DrawTileSprites *dts = group->dts;
const DrawTileSprites *dts = &group->dts;
SpriteID image = dts->ground.sprite;
SpriteID pal = dts->ground.pal;