Document sfxsource

This commit is contained in:
Owlenuff
2024-10-02 20:31:43 +02:00
parent 6fb4f2b3f1
commit 7bbc6d3b69
45 changed files with 83 additions and 83 deletions

View File

@@ -28,7 +28,7 @@ void __chXmasTree_free(Actor *this){
item_set(ITEM_6_HOURGLASS, FALSE);
tmp_a0 = this->unk44_31;
if(tmp_a0){
func_8030DA44(tmp_a0);
sfxsource_freeSfxsourceByIndex(tmp_a0);
this->unk44_31 = 0;
}
}
@@ -165,7 +165,7 @@ void chXmasTree_update(Actor *this){
item_set(ITEM_6_HOURGLASS, FALSE);
tmp_a0 = this->unk44_31;
if(tmp_a0){
func_8030DA44(tmp_a0);
sfxsource_freeSfxsourceByIndex(tmp_a0);
this->unk44_31 = 0;
}
func_80324E38(0.0f, 3);

View File

@@ -27,7 +27,7 @@ void func_803918C0(void){
void func_8039195C(void){
if(D_803935E0.sfxsourceIdx){
func_8030DA44(D_803935E0.sfxsourceIdx);
sfxsource_freeSfxsourceByIndex(D_803935E0.sfxsourceIdx);
D_803935E0.sfxsourceIdx = 0;
}
}