road_cmd.c
changeset 534 17ab2f22ff74
parent 507 8aa8100b0b22
child 541 e1cd34389f79
--- a/road_cmd.c	Wed Dec 01 21:35:14 2004 +0000
+++ b/road_cmd.c	Thu Dec 02 22:53:07 2004 +0000
@@ -106,7 +106,7 @@
 			return true;
 
 		t = ClosestTownFromTile(tile, (uint)-1);
-		SET_DPARAM16(0, t->index);
+		SetDParam(0, t->index);
 		_error_message = STR_2009_LOCAL_AUTHORITY_REFUSES;
 		return false;
 	}