diff --git a/src/game/envfx_snow.c b/src/game/envfx_snow.c index 85b5e9f0e..f48cd90dc 100644 --- a/src/game/envfx_snow.c +++ b/src/game/envfx_snow.c @@ -431,7 +431,7 @@ Gfx *envfx_update_snow_internal(s32 snowMode, Vec3s marioPos, Vec3s camFrom, Vec s16 radius, pitch, yaw; Vec3s snowCylinderPos; struct SnowFlakeVertex vertex1, vertex2, vertex3; - Gfx *gfxStart; + Gfx *gfxStart = NULL; Gfx *gfx; vertex1 = gSnowFlakeVertex1; @@ -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); diff --git a/src/pc/crash_handler.c b/src/pc/crash_handler.c index 82c51ab2d..dae4b77fd 100644 --- a/src/pc/crash_handler.c +++ b/src/pc/crash_handler.c @@ -120,6 +120,9 @@ void render_create_dl_ortho_matrix() { } static void crash_handler_produce_one_frame() { + extern u8 gRenderingInterpolated; + gRenderingInterpolated = false; + // Start frame gfx_start_frame(); load_gfx_memory_pool();