road_cmd.c
changeset 2958 3f8946daf55f
parent 2952 6a26eeda9679
child 2989 99c95a3ebcaa
--- a/road_cmd.c	Wed Feb 01 19:53:17 2006 +0000
+++ b/road_cmd.c	Thu Feb 02 07:15:46 2006 +0000
@@ -204,7 +204,7 @@
 	} else if (ti.type == MP_STREET) {
 		// check if you're allowed to remove the street owned by a town
 		// removal allowance depends on difficulty setting
-		if (!CheckforTownRating(tile, flags, t, ROAD_REMOVE)) return CMD_ERROR;
+		if (!CheckforTownRating(flags, t, ROAD_REMOVE)) return CMD_ERROR;
 
 		// XXX - change cascading ifs to switch when doing rewrite
 		if ((ti.map5 & 0xF0) == 0) { // normal road