command.c
changeset 534 17ab2f22ff74
parent 507 8aa8100b0b22
child 543 e3b43338096b
--- a/command.c	Wed Dec 01 21:35:14 2004 +0000
+++ b/command.c	Thu Dec 02 22:53:07 2004 +0000
@@ -493,7 +493,7 @@
 		if (res2 != 0)
 			ShowCostOrIncomeAnimation(x, y, GetSlopeZ(x, y), res2);
 		if (_additional_cash_required) {
-			SET_DPARAM32(0, _additional_cash_required);
+			SetDParam(0, _additional_cash_required);
 			ShowErrorMessage(STR_0003_NOT_ENOUGH_CASH_REQUIRES, _error_message_2, x,y);
 			if (res2 == 0) goto callb_err;
 		}