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/road_cmd.cpp | |
parent | 830af8ee77bbbedb23f4caa53c8b47c20235f1b2 (diff) | |
download | openttd-24e0945bc462ea0687689880caf0d830455934e2.tar.xz |
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
Diffstat (limited to 'src/road_cmd.cpp')
-rw-r--r-- | src/road_cmd.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index ed9192319..56ae78847 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -36,7 +36,6 @@ #include "company_base.h" #include "core/random_func.hpp" -#include "table/sprites.h" #include "table/strings.h" /** @@ -1223,7 +1222,7 @@ static void DrawTile_Road(TileInfo *ti) } DrawGroundSprite(dts->ground.sprite, PAL_NONE); - DrawCommonTileSeq(ti, dts, TO_BUILDINGS, 0, 0, palette); + DrawOrigTileSeq(ti, dts, TO_BUILDINGS, palette); break; } } @@ -1239,7 +1238,7 @@ void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt) y += 17; DrawSprite(dts->ground.sprite, PAL_NONE, x, y); - DrawCommonTileSeqInGUI(x, y, dts, 0, 0, palette); + DrawOrigTileSeqInGUI(x, y, dts, palette); } /** |