mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 02:42:18 -05:00
Account for removed object dependency in Deku Scrub Leader (#3878)
* Account for removed object dependency in Deku Scrub Leader * Update soh/src/overlays/actors/ovl_En_Dnt_Jiji/z_en_dnt_jiji.c --------- Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
This commit is contained in:
parent
2529dc59bd
commit
bb1078e99c
@ -101,6 +101,9 @@ void EnDntJiji_Destroy(Actor* thisx, PlayState* play) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EnDntJiji_SetFlower(EnDntJiji* this, PlayState* play) {
|
void EnDntJiji_SetFlower(EnDntJiji* this, PlayState* play) {
|
||||||
|
// SOH: Due to removed object dependencies, parent was still NULL when Init was called. In order to properly set
|
||||||
|
// stage, redo it here now that we are a frame later.
|
||||||
|
this->stage = (EnDntDemo*)this->actor.parent;
|
||||||
if (this->actor.bgCheckFlags & 1) {
|
if (this->actor.bgCheckFlags & 1) {
|
||||||
this->flowerPos = this->actor.world.pos;
|
this->flowerPos = this->actor.world.pos;
|
||||||
this->actionFunc = EnDntJiji_SetupWait;
|
this->actionFunc = EnDntJiji_SetupWait;
|
||||||
|
Loading…
Reference in New Issue
Block a user