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:
parent
5015af4c57
commit
451b24f79b
71 changed files with 298 additions and 86 deletions
|
@ -191,9 +191,11 @@ void EnWood02_Init(Actor* thisx, PlayState* play2) {
|
|||
case WOOD_BUSH_GREEN_LARGE_SPAWNER:
|
||||
case WOOD_BUSH_BLACK_LARGE_SPAWNER:
|
||||
spawnType = 1;
|
||||
FALLTHROUGH;
|
||||
case WOOD_BUSH_GREEN_LARGE_SPAWNED:
|
||||
case WOOD_BUSH_BLACK_LARGE_SPAWNED:
|
||||
spawnType++;
|
||||
FALLTHROUGH;
|
||||
case WOOD_TREE_CONICAL_LARGE:
|
||||
case WOOD_BUSH_GREEN_LARGE:
|
||||
case WOOD_BUSH_BLACK_LARGE:
|
||||
|
@ -208,12 +210,14 @@ void EnWood02_Init(Actor* thisx, PlayState* play2) {
|
|||
case WOOD_BUSH_GREEN_SMALL_SPAWNER:
|
||||
case WOOD_BUSH_BLACK_SMALL_SPAWNER:
|
||||
spawnType = 1;
|
||||
FALLTHROUGH;
|
||||
case WOOD_TREE_CONICAL_SPAWNED:
|
||||
case WOOD_TREE_OVAL_YELLOW_SPAWNED:
|
||||
case WOOD_TREE_OVAL_GREEN_SPAWNED:
|
||||
case WOOD_BUSH_GREEN_SMALL_SPAWNED:
|
||||
case WOOD_BUSH_BLACK_SMALL_SPAWNED:
|
||||
spawnType++;
|
||||
FALLTHROUGH;
|
||||
case WOOD_TREE_CONICAL_MEDIUM:
|
||||
case WOOD_TREE_OVAL_GREEN:
|
||||
case WOOD_TREE_KAKARIKO_ADULT:
|
||||
|
@ -236,6 +240,7 @@ void EnWood02_Init(Actor* thisx, PlayState* play2) {
|
|||
this->actor.velocity.x = Rand_CenteredFloat(6.0f);
|
||||
this->actor.velocity.z = Rand_CenteredFloat(6.0f);
|
||||
this->actor.velocity.y = (Rand_ZeroOne() * 1.25f) + -3.1f;
|
||||
break;
|
||||
}
|
||||
|
||||
if (this->actor.params <= WOOD_TREE_CONICAL_SPAWNED) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue