disaster_cmd.c
changeset 1044 9b73df700a7c
parent 1035 0a170deb6e33
child 1048 edfc783f241d
--- a/disaster_cmd.c	Sun Jan 16 14:42:53 2005 +0000
+++ b/disaster_cmd.c	Sun Jan 16 14:50:01 2005 +0000
@@ -20,7 +20,7 @@
 	if (!EnsureNoVehicle(tile))
 		return;
 
-	type = _map_type_and_height[tile] >> 4;
+	type = TileType(tile);
 
 	if (type == MP_RAILWAY) {
 		if (IS_HUMAN_PLAYER(_map_owner[tile]))