Possible fix for snow crash
This commit is contained in:
parent
7d82923aa4
commit
ee032fe123
|
@ -438,7 +438,7 @@ Gfx *envfx_update_snow_internal(s32 snowMode, Vec3s marioPos, Vec3s camFrom, Vec
|
|||
vertex2 = gSnowFlakeVertex2;
|
||||
vertex3 = gSnowFlakeVertex3;
|
||||
|
||||
if (interpolated) {
|
||||
if (interpolated && sSnowGfxPos) {
|
||||
gfxStart = sSnowGfxPos;
|
||||
} else {
|
||||
gfxStart = (Gfx *) alloc_display_list((gSnowParticleCount * 6 + 3) * sizeof(Gfx));
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "mods.h"
|
||||
#include "mod.h"
|
||||
#include "mods_utils.h"
|
||||
#define DISABLE_MODULE_LOG 1
|
||||
#include "pc/debuglog.h"
|
||||
#include "pc/utils/md5.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue