mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-02 22:14:33 +00:00
Remove and change some fake matches (#910)
* remove fake match * remove another fake match * move globalCtx temp * remove more fake matches * remove commented lines * this is it I promise
This commit is contained in:
parent
0042acb539
commit
17c79a8f60
8 changed files with 17 additions and 33 deletions
|
@ -164,8 +164,9 @@ void func_80A7C058(EnInsect* this) {
|
|||
}
|
||||
}
|
||||
|
||||
void EnInsect_Init(Actor* thisx, GlobalContext* globalCtx) {
|
||||
void EnInsect_Init(Actor* thisx, GlobalContext* globalCtx2) {
|
||||
EnInsect* this = THIS;
|
||||
GlobalContext* globalCtx = globalCtx2;
|
||||
f32 rand;
|
||||
s16 temp_s2;
|
||||
s32 count;
|
||||
|
@ -205,15 +206,11 @@ void EnInsect_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
Actor_Spawn(&globalCtx->actorCtx, globalCtx, ACTOR_EN_INSECT, this->actor.world.pos.x,
|
||||
this->actor.world.pos.y, this->actor.world.pos.z, this->actor.shape.rot.x,
|
||||
this->actor.shape.rot.y, this->actor.shape.rot.z, 3);
|
||||
|
||||
if (globalCtx) {}
|
||||
}
|
||||
}
|
||||
|
||||
func_80A7D39C(this);
|
||||
|
||||
if (1) {}
|
||||
|
||||
D_80A7DEB8++;
|
||||
} else {
|
||||
rand = Rand_ZeroOne();
|
||||
|
@ -349,7 +346,7 @@ void func_80A7C86C(EnInsect* this, GlobalContext* globalCtx) {
|
|||
yaw -= 0x2000;
|
||||
}
|
||||
}
|
||||
if (globalCtx) {}
|
||||
if (globalCtx) {} // Must be 'globalCtx'
|
||||
Math_ScaledStepToS(&this->actor.world.rot.y, yaw, 2000);
|
||||
}
|
||||
this->actor.shape.rot.y = this->actor.world.rot.y;
|
||||
|
@ -450,7 +447,7 @@ void func_80A7CE60(EnInsect* this) {
|
|||
void func_80A7CEC0(EnInsect* this, GlobalContext* globalCtx) {
|
||||
f32 temp_f0;
|
||||
s16 temp_v1;
|
||||
s16 padding;
|
||||
s16 pad;
|
||||
s16 sp4E;
|
||||
Vec3f sp40;
|
||||
s32 phi_v0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue