From 7320883fb477ea4b95a674bb9936c90b0f0ca9bd Mon Sep 17 00:00:00 2001 From: MysterD Date: Wed, 4 May 2022 06:26:40 -0700 Subject: [PATCH] Another snow crash fix --- src/game/envfx_snow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/envfx_snow.c b/src/game/envfx_snow.c index 93eff5ff4..f48cd90dc 100644 --- a/src/game/envfx_snow.c +++ b/src/game/envfx_snow.c @@ -455,7 +455,9 @@ Gfx *envfx_update_snow_internal(s32 snowMode, Vec3s marioPos, Vec3s camFrom, Vec return NULL; } - envfx_update_snowflake_count(snowMode, marioPos); + if (!interpolated) { + envfx_update_snowflake_count(snowMode, marioPos); + } // Note: to and from are inverted here, so the resulting vector goes towards the camera orbit_from_positions(camTo, camFrom, &radius, &pitch, &yaw);