station_cmd.c
changeset 1059 c28c6be74291
parent 1035 0a170deb6e33
child 1067 a083a6dd1419
--- a/station_cmd.c	Tue Jan 18 17:19:34 2005 +0000
+++ b/station_cmd.c	Tue Jan 18 18:41:56 2005 +0000
@@ -2643,8 +2643,7 @@
 			if (!GenerateStationName(st, tile, 2))
 				return;
 
-			_map_type_and_height[tile] &= 0xF;
-			_map_type_and_height[tile] |= MP_STATION << 4;
+			SetTileType(tile, MP_STATION);
 			_map5[tile] = 0x4B;
 			_map_owner[tile] = OWNER_NONE;
 			_map3_lo[tile] = 0;