summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/road_cmd.c b/road_cmd.c
index 8d6afb4bc..725bc99bd 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -448,8 +448,7 @@ do_clear:;
if (flags & DC_EXEC) {
if (ti.type != MP_STREET) {
- _map_type_and_height[tile] &= 0xF;
- _map_type_and_height[tile] |= MP_STREET << 4;
+ SetTileType(tile, MP_STREET);
_map5[tile] = 0;
_map_owner[tile] = _current_player;
}