forked from rosebudai/OpenRCT2-Web
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:
1 parent
6a89dfbfe9
commit
dd624f9bff
105 files changed
+535
-445
No files matched your search
@@ -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