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:
committed by
Michael Steenbeek
parent
831d69083e
commit
8c20b635bd
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user