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