mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Fix #5765: Peep purchase animation shows for $0.00
This commit is contained in:
@@ -33,6 +33,9 @@ static const rct_xy16 _moneyEffectMoveOffset[] = {
|
||||
*/
|
||||
void money_effect_create_at(money32 value, sint32 x, sint32 y, sint32 z, bool vertical)
|
||||
{
|
||||
if (value == MONEY(0,00))
|
||||
return;
|
||||
|
||||
rct_money_effect * moneyEffect = (rct_money_effect *)create_sprite(2);
|
||||
if (moneyEffect == NULL)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user