@@ -370,7 +370,7 @@ CommandCost CmdGiveMoney(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
|
||||
if (!_settings_game.economy.give_money) return CMD_ERROR;
|
||||
|
||||
const Company *c = Company::Get(_current_company);
|
||||
CommandCost amount(EXPENSES_OTHER, std::min<Money>((int64)p3, 20000000LL));
|
||||
CommandCost amount(EXPENSES_OTHER, (int64)p3);
|
||||
CompanyID dest_company = (CompanyID)p1;
|
||||
|
||||
/* You can only transfer funds that is in excess of your loan */
|
||||
|
Reference in New Issue
Block a user