mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-06 23:51:17 +00:00
Fix crash in spawn_default_star()
This commit is contained in:
parent
41275835e7
commit
9ae1a7c525
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ static u8 spawn_star_deduplication(u32* array, u8* count, u32 behParams) {
|
|||
|
||||
struct Object* spawn_default_star(f32 x, f32 y, f32 z) {
|
||||
if (sCurrPlayMode != PLAY_MODE_NORMAL && sCurrPlayMode != PLAY_MODE_PAUSED) { return NULL; }
|
||||
if (o == NULL) { return NULL; }
|
||||
u32 behParams = o->oBehParams;
|
||||
|
||||
// de-duplication checking
|
||||
|
|
Loading…
Reference in a new issue