summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-19 06:46:41 +0000
committertron <tron@openttd.org>2005-10-19 06:46:41 +0000
commitb17b87469c353393e05b9cf3c7e391edc2332dab (patch)
treeb1be08aaabd03b45d086543edd2c1e7ae8031d8e /road_cmd.c
parentd50ef149928ba9f46cb68df6a7d94bad642c70b5 (diff)
downloadopenttd-b17b87469c353393e05b9cf3c7e391edc2332dab.tar.xz
(svn r3064) Replace some numbers by sprite names
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c
index 6064e2204..295c08bf1 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -822,7 +822,7 @@ void DrawRoadBits(TileInfo *ti, byte road, byte ground_type, bool snow, bool fla
if (ground_type >= 6) {
// Road works
- DrawGroundSprite(0x586 + (HASBIT(road, 4) ? 0 : 1));
+ DrawGroundSprite(HASBIT(road, 4) ? SPR_EXCAVATION_X : SPR_EXCAVATION_Y);
return;
}