1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-12 01:40:47 +00:00

Rename EVENTCHKINF_4D (#2329)

* Rename EVENTCHKINF_4D

* Second rename
This commit is contained in:
Jordan Longstaff 2024-12-09 22:24:06 -05:00 committed by GitHub
parent 9305a71458
commit b76fe9d0b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ void BgGjyoBridge_Init(Actor* thisx, PlayState* play) {
this->dyna.bgId = DynaPoly_SetBgActor(play, &play->colCtx.dyna, thisx, colHeader);
if (GET_EVENTCHKINF(EVENTCHKINF_4D)) {
if (GET_EVENTCHKINF(EVENTCHKINF_CREATED_RAINBOW_BRIDGE)) {
this->actionFunc = func_808787A4;
} else {
this->dyna.actor.draw = NULL;
@ -85,7 +85,7 @@ void BgGjyoBridge_SpawnBridge(BgGjyoBridge* this, PlayState* play) {
(play->csCtx.actorCues[2]->id == 2)) {
this->dyna.actor.draw = BgGjyoBridge_Draw;
DynaPoly_EnableCollision(play, &play->colCtx.dyna, this->dyna.bgId);
SET_EVENTCHKINF(EVENTCHKINF_4D);
SET_EVENTCHKINF(EVENTCHKINF_CREATED_RAINBOW_BRIDGE);
}
}