From 24e0945bc462ea0687689880caf0d830455934e2 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 17 Jan 2010 15:05:25 +0000 Subject: (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. --- src/road_cmd.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/road_cmd.cpp') 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); } /** -- cgit v1.2.3-54-g00ecf