road_cmd.c
changeset 1059 fe97d81a1b4f
parent 1041 94db182c3614
child 1093 4fdc46eaf423
--- a/road_cmd.c	Tue Jan 18 17:19:34 2005 +0000
+++ b/road_cmd.c	Tue Jan 18 18:41:56 2005 +0000
@@ -448,8 +448,7 @@
 
 	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;
 		}