mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 23:41:24 +00:00
Rename "Scene Setup Index" to "Scene Layer" (#1300)
* setup -> layer * IS_CUTSCENE_LAYER * review * backtick * remove some more mentions of setup * alt header block * clarifying comment
This commit is contained in:
parent
d7ea63c75d
commit
afbc312024
51 changed files with 169 additions and 156 deletions
|
@ -191,7 +191,7 @@ void ObjectKankyo_Fairies(ObjectKankyo* this, PlayState* play) {
|
|||
|
||||
player = GET_PLAYER(play);
|
||||
|
||||
if (play->sceneNum == SCENE_SPOT04 && gSaveContext.sceneSetupIndex == 7) {
|
||||
if (play->sceneNum == SCENE_SPOT04 && gSaveContext.sceneLayer == 7) {
|
||||
dist = Math3D_Vec3f_DistXYZ(&this->prevEyePos, &play->view.eye);
|
||||
|
||||
this->prevEyePos.x = play->view.eye.x;
|
||||
|
@ -227,7 +227,7 @@ void ObjectKankyo_Fairies(ObjectKankyo* this, PlayState* play) {
|
|||
}
|
||||
|
||||
if (play->envCtx.precipitation[PRECIP_SNOW_MAX] < 64 &&
|
||||
(gSaveContext.entranceIndex != ENTR_SPOT04_0 || gSaveContext.sceneSetupIndex != 4 ||
|
||||
(gSaveContext.entranceIndex != ENTR_SPOT04_0 || gSaveContext.sceneLayer != 4 ||
|
||||
play->envCtx.precipitation[PRECIP_SNOW_MAX])) {
|
||||
play->envCtx.precipitation[PRECIP_SNOW_MAX] += 16;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue