set morpha reset function in initvars (#881)

Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
briaguya 2022-07-24 09:21:38 -04:00 committed by GitHub
parent bd95fe616b
commit 474eee5d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ void BossMo_UpdateCore(Actor* thisx, GlobalContext* globalCtx);
void BossMo_UpdateTent(Actor* thisx, GlobalContext* globalCtx); void BossMo_UpdateTent(Actor* thisx, GlobalContext* globalCtx);
void BossMo_DrawCore(Actor* thisx, GlobalContext* globalCtx); void BossMo_DrawCore(Actor* thisx, GlobalContext* globalCtx);
void BossMo_DrawTent(Actor* thisx, GlobalContext* globalCtx); void BossMo_DrawTent(Actor* thisx, GlobalContext* globalCtx);
void BossMo_Reset(void);
void BossMo_UpdateEffects(BossMo* this, GlobalContext* globalCtx); void BossMo_UpdateEffects(BossMo* this, GlobalContext* globalCtx);
void BossMo_DrawEffects(BossMoEffect* effect, GlobalContext* globalCtx); void BossMo_DrawEffects(BossMoEffect* effect, GlobalContext* globalCtx);
@ -131,7 +132,7 @@ const ActorInit Boss_Mo_InitVars = {
(ActorFunc)BossMo_Destroy, (ActorFunc)BossMo_Destroy,
(ActorFunc)BossMo_UpdateTent, (ActorFunc)BossMo_UpdateTent,
(ActorFunc)BossMo_DrawTent, (ActorFunc)BossMo_DrawTent,
NULL, (ActorResetFunc)BossMo_Reset,
}; };
static BossMo* sMorphaCore = NULL; static BossMo* sMorphaCore = NULL;