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:
parent
5015af4c57
commit
451b24f79b
71 changed files with 298 additions and 86 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue