1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Fix #9270: Refactor money effect

Changed static functions to rct_money_effect member functions. GetStringId now returns std::pair.
This commit is contained in:
aw20368
2019-05-21 15:22:47 -04:00
committed by Michael Steenbeek
parent 831d69083e
commit 8c20b635bd
8 changed files with 58 additions and 48 deletions

View File

@@ -528,7 +528,7 @@ int32_t game_do_command_p(
{
// Create a +/- money text effect
if (cost != 0 && game_is_not_paused())
money_effect_create(cost);
rct_money_effect::Create(cost);
}
}