diff options
author | frosch <frosch@openttd.org> | 2010-01-17 15:05:25 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-01-17 15:05:25 +0000 |
commit | 24e0945bc462ea0687689880caf0d830455934e2 (patch) | |
tree | 489fd14a952047f356b8258eb6f5f799d23d5c47 /src/newgrf_industrytiles.cpp | |
parent | 830af8ee77bbbedb23f4caa53c8b47c20235f1b2 (diff) | |
download | openttd-24e0945bc462ea0687689880caf0d830455934e2.tar.xz |
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-rw-r--r-- | src/newgrf_industrytiles.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index ac1d3be8e..4afc810ee 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -26,6 +26,7 @@ #include "command_func.h" #include "animated_tile_func.h" #include "water.h" +#include "sprite.h" #include "table/strings.h" @@ -185,7 +186,7 @@ static void IndustryDrawTileLayout(const TileInfo *ti, const TileLayoutSpriteGro } } - DrawTileSeq(ti, dts, TO_INDUSTRIES, stage, GENERAL_SPRITE_COLOUR(rnd_colour)); + DrawNewGRFTileSeq(ti, dts, TO_INDUSTRIES, stage, GENERAL_SPRITE_COLOUR(rnd_colour)); } uint16 GetIndustryTileCallback(CallbackID callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile) |