1
0
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:
rwjuk
2017-07-03 14:47:50 +01:00
committed by Michael Steenbeek
parent eeca2e1d83
commit dd2ab63b26

View File

@@ -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;