1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-20 14:01:15 +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

@ -527,11 +527,11 @@ void EnRd_Grab(EnRd* this, PlayState* play) {
play->damagePlayer(play, -8);
func_800AA000(this->actor.xzDistToPlayer, 0xFF, 1, 0xC);
this->grabDamageTimer = 20;
// fallthrough
FALLTHROUGH;
case REDEAD_GRAB_START:
Math_SmoothStepToS(&this->headYRotation, 0, 1, 0x5DC, 0);
Math_SmoothStepToS(&this->upperBodyYRotation, 0, 1, 0x5DC, 0);
// fallthrough
FALLTHROUGH;
case REDEAD_GRAB_ATTACK:
if (!(player->stateFlags2 & PLAYER_STATE2_7)) {
Animation_Change(&this->skelAnime, &gGibdoRedeadGrabEndAnim, 0.5f, 0.0f,