fix crash during conflicting warps

This commit is contained in:
Isaac0-dev 2025-06-04 09:40:20 +10:00
parent d6508def28
commit 681ea52f4b

View file

@ -218,6 +218,7 @@ static void *DynOS_Warp_UpdateWarp(void *aCmd, bool aIsLevelInitDone) {
} else {
_Warp = DynOS_Level_GetWarp(gCurrLevelNum, gCurrAreaIndex, sDynosWarpNodeNum);
}
if (!_Warp) { return NULL; }
s16 sDynosWarpSpawnType = sSpawnTypeFromWarpBhv[_Warp[2]];
// Init Mario