mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 17:32:45 +01:00
Add: CommandCost supports an optional second error string
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user