Add: CommandCost supports an optional second error string

This commit is contained in:
Tyler Trahan
2018-11-19 18:59:25 +00:00
parent e3169c73bd
commit 44848f4edf
6 changed files with 70 additions and 21 deletions

View File

@@ -222,6 +222,6 @@ CommandCost CmdChangeBankBalance(DoCommandFlag flags, TileIndex tile, Money delt
}
/* This command doesn't cost anything for deity. */
CommandCost zero_cost(expenses_type, 0);
CommandCost zero_cost(expenses_type, (Money)0);
return zero_cost;
}