Codechange: pass (uint) money as Money for CmdGiveMoney

This commit is contained in:
Rubidium
2023-05-05 11:37:17 +02:00
committed by rubidium42
parent 4a5a9f57c4
commit e33b2afd87
3 changed files with 4 additions and 6 deletions

View File

@@ -1187,7 +1187,7 @@ uint32 CompanyInfrastructure::GetTramTotal() const
* @param dest_company the company to transfer the money to
* @return the cost of this operation or an error
*/
CommandCost CmdGiveMoney(DoCommandFlag flags, uint32 money, CompanyID dest_company)
CommandCost CmdGiveMoney(DoCommandFlag flags, Money money, CompanyID dest_company)
{
if (!_settings_game.economy.give_money) return CMD_ERROR;