From ae2d7947d7ba173f52d55e084251501201720f67 Mon Sep 17 00:00:00 2001 From: John Taylor Date: Thu, 20 Mar 2025 23:38:48 +0100 Subject: [PATCH] Fix #13562: Removed cost estimation message from money cheat --- src/misc_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc_cmd.h b/src/misc_cmd.h index 3c9ab9535c..3b60ec5625 100644 --- a/src/misc_cmd.h +++ b/src/misc_cmd.h @@ -27,7 +27,7 @@ CommandCost CmdDecreaseLoan(DoCommandFlags flags, LoanCommand cmd, Money amount) CommandCost CmdSetCompanyMaxLoan(DoCommandFlags flags, CompanyID company, Money amount); CommandCost CmdPause(DoCommandFlags flags, PauseMode mode, bool pause); -DEF_CMD_TRAIT(CMD_MONEY_CHEAT, CmdMoneyCheat, CommandFlag::Offline, CMDT_CHEAT) +DEF_CMD_TRAIT(CMD_MONEY_CHEAT, CmdMoneyCheat, CommandFlags({CommandFlag::Offline, CommandFlag::NoEst}), CMDT_CHEAT) DEF_CMD_TRAIT(CMD_CHANGE_BANK_BALANCE, CmdChangeBankBalance, CommandFlag::Deity, CMDT_MONEY_MANAGEMENT) DEF_CMD_TRAIT(CMD_INCREASE_LOAN, CmdIncreaseLoan, {}, CMDT_MONEY_MANAGEMENT) DEF_CMD_TRAIT(CMD_DECREASE_LOAN, CmdDecreaseLoan, {}, CMDT_MONEY_MANAGEMENT)