diff options
author | frosch <frosch@openttd.org> | 2008-02-15 18:40:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-02-15 18:40:42 +0000 |
commit | a40d761d7fc608359b46694f7259c2699ef8cf0c (patch) | |
tree | 2cd7d2f6b962e9d7a99091f185e1a5aa591f0784 /src/road_cmd.cpp | |
parent | fd0f57a79485641b632da4525e28ae397c892e54 (diff) | |
download | openttd-a40d761d7fc608359b46694f7259c2699ef8cf0c.tar.xz |
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
Diffstat (limited to 'src/road_cmd.cpp')
-rw-r--r-- | src/road_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index af3a4d558..22c978ae3 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -1114,7 +1114,7 @@ static void DrawTile_Road(TileInfo *ti) dts = &_road_depot[GetRoadDepotDirection(ti->tile)]; } - DrawGroundSprite(dts->ground_sprite, PAL_NONE); + DrawGroundSprite(dts->ground.sprite, PAL_NONE); for (dtss = dts->seq; dtss->image.sprite != 0; dtss++) { SpriteID image = dtss->image.sprite; @@ -1149,7 +1149,7 @@ void DrawRoadDepotSprite(int x, int y, DiagDirection dir, RoadType rt) x += 33; y += 17; - DrawSprite(dts->ground_sprite, PAL_NONE, x, y); + DrawSprite(dts->ground.sprite, PAL_NONE, x, y); for (dtss = dts->seq; dtss->image.sprite != 0; dtss++) { Point pt = RemapCoords(dtss->delta_x, dtss->delta_y, dtss->delta_z); |