mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
fix crash during conflicting warps
This commit is contained in:
parent
d6508def28
commit
681ea52f4b
1 changed files with 1 additions and 0 deletions
|
|
@ -218,6 +218,7 @@ static void *DynOS_Warp_UpdateWarp(void *aCmd, bool aIsLevelInitDone) {
|
||||||
} else {
|
} else {
|
||||||
_Warp = DynOS_Level_GetWarp(gCurrLevelNum, gCurrAreaIndex, sDynosWarpNodeNum);
|
_Warp = DynOS_Level_GetWarp(gCurrLevelNum, gCurrAreaIndex, sDynosWarpNodeNum);
|
||||||
}
|
}
|
||||||
|
if (!_Warp) { return NULL; }
|
||||||
s16 sDynosWarpSpawnType = sSpawnTypeFromWarpBhv[_Warp[2]];
|
s16 sDynosWarpSpawnType = sSpawnTypeFromWarpBhv[_Warp[2]];
|
||||||
|
|
||||||
// Init Mario
|
// Init Mario
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue