mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Replace remaining usages of money16, money32 (#19469)
* Use money64 for ride prices and shop items * Use money64 for park entrance fee * Use money64 for gGuestInitialCash * Use money64 for upkeep costs * Use money64 for ride value * Use money64 for marketing campaign cost * Use money64 for object prices * Use money64 for land prices * Use money64 for guest expenditure * Replace remaining occurrences of money32 with money64 * Update replays * Bump network version --------- Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
committed by
GitHub
parent
6a89dfbfe9
commit
dd624f9bff
@@ -1161,7 +1161,7 @@ DukValue ScriptEngine::GameActionResultToDuk(const GameAction& action, const Gam
|
||||
obj.Set("errorMessage", result.GetErrorMessage());
|
||||
}
|
||||
|
||||
if (result.Cost != MONEY32_UNDEFINED)
|
||||
if (result.Cost != MONEY64_UNDEFINED)
|
||||
{
|
||||
obj.Set("cost", result.Cost);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user