road_cmd.c
changeset 2958 ac0a9673b522
parent 2952 58522ed8f0f1
child 2989 916f9443345f
--- 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