road_cmd.c
changeset 534 306bc86eb23e
parent 507 04b5403aaf6b
child 541 625227bb2a3d
--- 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;
 	}