missing instances of level id enum

This commit is contained in:
Superstarxalien 2023-04-02 15:49:22 -04:00
parent d0cdf78fdc
commit f7670b72a4
2 changed files with 4 additions and 13 deletions

View File

@ -4,16 +4,7 @@ int LOAD_GetAdvPackIndex()
{ {
int levelID = sdata->gGT->levelID; int levelID = sdata->gGT->levelID;
if( if ((levelID != GEM_STONE_VALLEY) && (levelID != GLACIER_PARK)) return 1;
// Not on GemStone Valley
(levelID != 0x19) &&
// Not on Glacier Park
(levelID != 0x1c)
)
{
return 1;
}
return 2; return 2;
} }

View File

@ -612,7 +612,7 @@ void RenderAllBoxSceneSplitLines(struct GameTracker* gGT)
if(LOAD_IsOpen_Podiums() != 0) if(LOAD_IsOpen_Podiums() != 0)
{ {
// ND Box Scene // ND Box Scene
if(gGT->levelID == 0x29) if(gGT->levelID == NAUGHTY_DOG_CRATE)
{ {
CS_BoxScene_InstanceSplitLines(); CS_BoxScene_InstanceSplitLines();
} }
@ -829,13 +829,13 @@ void RenderAllLevelGeometry(struct GameTracker* gGT)
if( if(
// adv character selection screen // adv character selection screen
(gGT->levelID == 0x28) || (gGT->levelID == ADVENTURE_CHARACTER_SELECT) ||
// cutscene that's not Crash Bandicoot intro // cutscene that's not Crash Bandicoot intro
// where he's sleeping and snoring on a hill // where he's sleeping and snoring on a hill
( (
((gGT->gameMode1 & GAME_CUTSCENE) != 0) && ((gGT->gameMode1 & GAME_CUTSCENE) != 0) &&
(gGT->levelID != 0x25) (gGT->levelID != INTRO_CRASH)
) )
) )
{ {