1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-22 06:52:03 +00:00

Fix a number of warnings when compiling with GCC (#1239)

* Silence a number of GCC warnings

* Remove

* Suggested changes

* Format

* Fix comment in en_go2
This commit is contained in:
Tharo 2022-06-03 17:51:23 +01:00 committed by GitHub
parent 5015af4c57
commit 451b24f79b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
71 changed files with 298 additions and 86 deletions

View file

@ -372,6 +372,7 @@ void BossFd_Fly(BossFd* this, PlayState* play) {
this->timers[0] = 100;
this->introState = BFD_CS_LOOK_LINK;
}
FALLTHROUGH;
case BFD_CS_LOOK_LINK:
player2->actor.world.pos.x = 380.0f;
player2->actor.world.pos.y = 100.0f;
@ -504,6 +505,7 @@ void BossFd_Fly(BossFd* this, PlayState* play) {
case INTRO_FLY_EMERGE:
this->timers[5] = 100;
this->introFlyState = INTRO_FLY_HOLE;
FALLTHROUGH;
case INTRO_FLY_HOLE:
if (this->timers[5] == 0) {
this->introFlyState = INTRO_FLY_CAMERA;