mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-07 06:40:15 +00:00
attchaedA/attachedB renamed to parent/child (#358)
* fix colliderinit typo * rename parent/child * cleanup * forgot to change something in functions.h * SpawnAsChild * format
This commit is contained in:
parent
468c592792
commit
1f1b5e39f5
233 changed files with 584 additions and 585 deletions
|
@ -318,9 +318,9 @@ void EnKz_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
if (LINK_IS_ADULT) {
|
||||
if (!(gSaveContext.infTable[19] & 0x100)) {
|
||||
Actor_SpawnAttached(&globalCtx->actorCtx, &this->actor, globalCtx, ACTOR_BG_ICE_SHELTER,
|
||||
this->actor.posRot.pos.x, this->actor.posRot.pos.y, this->actor.posRot.pos.z, 0, 0, 0,
|
||||
0x04FF);
|
||||
Actor_SpawnAsChild(&globalCtx->actorCtx, &this->actor, globalCtx, ACTOR_BG_ICE_SHELTER,
|
||||
this->actor.posRot.pos.x, this->actor.posRot.pos.y, this->actor.posRot.pos.z, 0, 0, 0,
|
||||
0x04FF);
|
||||
}
|
||||
this->actionFunc = EnKz_Wait;
|
||||
} else {
|
||||
|
@ -409,8 +409,8 @@ void EnKz_SetupGetItem(EnKz* this, GlobalContext* globalCtx) {
|
|||
f32 xzRange;
|
||||
f32 yRange;
|
||||
|
||||
if (func_8002F410(this, globalCtx)) {
|
||||
this->actor.attachedA = NULL;
|
||||
if (Actor_HasParent(this, globalCtx)) {
|
||||
this->actor.parent = NULL;
|
||||
this->unk_1E0.unk_00 = 1;
|
||||
this->actionFunc = EnKz_StartTimer;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue