refac: rename func_8030D90C to sfxsource_createSfxsourceAndReturnIndex and func_8030DBB4 to sfxsource_playSfxAtVolume
Additionally rename properties/variables assigned by sfxsource_createSfxsourceAndReturnIndex to sfxsourceIdx
This commit is contained in:
@@ -166,10 +166,10 @@ void func_8038B124(Actor *this){
|
||||
this->unk138_27 = 1;
|
||||
this->unk1C[1] = 0.0f;
|
||||
if(this->unk44_31 == 0){
|
||||
this->unk44_31 = func_8030D90C();
|
||||
this->unk44_31 = sfxsource_createSfxsourceAndReturnIndex();
|
||||
sfxsource_setSfxId(this->unk44_31, SFX_3EC_CCW_DOOR_OPENING);
|
||||
func_8030DD14(this->unk44_31, 2);
|
||||
func_8030DBB4(this->unk44_31, 0.1f);
|
||||
sfxsource_playSfxAtVolume(this->unk44_31, 0.1f);
|
||||
sfxsource_setSampleRate(this->unk44_31, 32000);
|
||||
}
|
||||
}//L8038B25C
|
||||
|
Reference in New Issue
Block a user