src/command.cpp
changeset 6991 bf9cd2a47774
parent 6990 136a08baf0ed
child 7002 1bf6a62b0fcb
--- a/src/command.cpp	Thu Jun 21 14:32:27 2007 +0000
+++ b/src/command.cpp	Thu Jun 21 14:54:51 2007 +0000
@@ -569,7 +569,7 @@
 	if (IsLocalPlayer() && _game_mode != GM_EDITOR) {
 		if (res2.GetCost() != 0) ShowCostOrIncomeAnimation(x, y, GetSlopeZ(x, y), res2.GetCost());
 		if (_additional_cash_required != 0) {
-			SetDParam(0, _additional_cash_required);
+			SetDParamMoney(0, _additional_cash_required);
 			ShowErrorMessage(STR_0003_NOT_ENOUGH_CASH_REQUIRES, error_part1, x, y);
 			if (res2.GetCost() == 0) goto callb_err;
 		}