From 2e57e001d47040c07aef8f6931f9c09cc648d6d1 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 93eff5ff..f48cd90d 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);