Another snow crash fix

This commit is contained in:
MysterD 2022-05-04 06:26:40 -07:00
parent 0b33a26960
commit 2e57e001d4

View file

@ -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);