Fix #5765: Peep purchase animation shows for $0.00

This commit is contained in:
rwjuk authored and Michael Steenbeek committed 2017-07-03 15:50:50 +02:00
1 parent eeca2e1d83
commit dd2ab63b26
1 file changed
+3
+3
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;