forked from rosebudai/OpenRCT2-Web
Fix #5765: Peep purchase animation shows for $0.00
This commit is contained in:
1 parent
eeca2e1d83
commit
dd2ab63b26
1 file changed
+3
@@ -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