mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-22 07:32:07 -05:00
init dynos levels in DynOS_Level_GetCollision
This commit is contained in:
parent
97439fa557
commit
2bfd9bc5f6
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ bool DynOS_Level_IsVanillaLevel(s32 aLevel) {
|
|||
Collision *DynOS_Level_GetCollision(u32 aLevel, u16 aArea) {
|
||||
if (aLevel >= LEVEL_COUNT) return NULL;
|
||||
if (aArea >= MAX_AREAS) return NULL;
|
||||
DynOS_Level_Init();
|
||||
return sDynosLevelCollision[aLevel][aArea];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue