1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-26 22:56:20 +00:00

Fix init chain issue (#379)

* fix colliderinit typo

* fix initchain
This commit is contained in:
fig02 2020-09-09 14:06:14 -04:00 committed by GitHub
parent 43a3ee9a93
commit 2fd56429eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,9 +19,6 @@ void func_80881D94(BgHakaWater* this, GlobalContext* globalCtx);
void BgHakaWater_Wait(BgHakaWater* this, GlobalContext* globalCtx); void BgHakaWater_Wait(BgHakaWater* this, GlobalContext* globalCtx);
void BgHakaWater_ChangeWaterLevel(BgHakaWater* this, GlobalContext* globalCtx); void BgHakaWater_ChangeWaterLevel(BgHakaWater* this, GlobalContext* globalCtx);
extern Gfx D_06001E50[];
extern Gfx D_06002010[];
const ActorInit Bg_Haka_Water_InitVars = { const ActorInit Bg_Haka_Water_InitVars = {
ACTOR_BG_HAKA_WATER, ACTOR_BG_HAKA_WATER,
ACTORTYPE_PROP, ACTORTYPE_PROP,
@ -34,10 +31,13 @@ const ActorInit Bg_Haka_Water_InitVars = {
(ActorFunc)BgHakaWater_Draw, (ActorFunc)BgHakaWater_Draw,
}; };
InitChainEntry sInitChain[] = { static InitChainEntry sInitChain[] = {
ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_STOP), ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_STOP),
}; };
extern Gfx D_06001E50[];
extern Gfx D_06002010[];
void BgHakaWater_Init(Actor* thisx, GlobalContext* globalCtx) { void BgHakaWater_Init(Actor* thisx, GlobalContext* globalCtx) {
BgHakaWater* this = THIS; BgHakaWater* this = THIS;