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
commit758ae7e8f63edbcc193443963e7a8cbe7dcac675 (patch)
treeb1be08aaabd03b45d086543edd2c1e7ae8031d8e /road_cmd.c
parentcb67ee9bf50e46d194b62920775e2a5998a1318b (diff)
downloadopenttd-758ae7e8f63edbcc193443963e7a8cbe7dcac675.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;
}