summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-01-17 15:05:25 +0000
committerfrosch <frosch@openttd.org>2010-01-17 15:05:25 +0000
commit24e0945bc462ea0687689880caf0d830455934e2 (patch)
tree489fd14a952047f356b8258eb6f5f799d23d5c47 /src/newgrf_industrytiles.cpp
parent830af8ee77bbbedb23f4caa53c8b47c20235f1b2 (diff)
downloadopenttd-24e0945bc462ea0687689880caf0d830455934e2.tar.xz
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-rw-r--r--src/newgrf_industrytiles.cpp3
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)