1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-02 22:14:33 +00:00

Cleanup pad's in z_scene_table.c (#1215)

* cleanup

* More cleanup
This commit is contained in:
engineer124 2022-05-08 00:10:06 +10:00 committed by GitHub
parent ca77b26c90
commit 5cc5cf5a7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 57 deletions

View file

@ -1072,12 +1072,10 @@ void EnGo2_BiggoronSetTextId(EnGo2* this, GlobalContext* globalCtx, Player* play
void func_80A45288(EnGo2* this, GlobalContext* globalCtx) {
Player* player = GET_PLAYER(globalCtx);
s32 linkAge;
if (this->actionFunc != EnGo2_GoronFireGenericAction) {
this->unk_194.unk_18 = player->actor.world.pos;
linkAge = gSaveContext.linkAge;
this->unk_194.unk_14 = D_80A482D8[this->actor.params & 0x1F][linkAge];
this->unk_194.unk_14 = D_80A482D8[this->actor.params & 0x1F][((void)0, gSaveContext.linkAge)];
func_80034A14(&this->actor, &this->unk_194, 4, this->unk_26E);
}
if ((this->actionFunc != EnGo2_SetGetItem) && (this->isAwake == true)) {