mirror of
https://github.com/zeldaret/oot.git
synced 2025-04-08 15:46:42 +00:00
Fix some hardcoded sfx ids (#2496)
This commit is contained in:
parent
c1eb0a79bc
commit
65b317abc3
2 changed files with 3 additions and 2 deletions
|
@ -2882,7 +2882,7 @@ void func_800F4578(Vec3f* pos, u16 sfxId, f32 arg2) {
|
|||
|
||||
void func_800F45D0(f32 arg0) {
|
||||
func_800F4414(&gSfxDefaultPos, NA_SE_IT_FISHING_REEL_SLOW - SFX_FLAG, arg0);
|
||||
func_800F436C(&gSfxDefaultPos, 0, (0.15f * arg0) + 1.4f);
|
||||
func_800F436C(&gSfxDefaultPos, NA_SE_NONE, (0.15f * arg0) + 1.4f);
|
||||
}
|
||||
|
||||
void Audio_PlaySfxRiver(Vec3f* pos, f32 freqScale) {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
#include "sfx.h"
|
||||
#include "sys_matrix.h"
|
||||
#include "z_lib.h"
|
||||
#include "z64audio.h"
|
||||
|
@ -74,7 +75,7 @@ void func_808AAA50(BgSpot01Fusya* this, PlayState* play) {
|
|||
}
|
||||
thisx->shape.rot.z += this->unk_154;
|
||||
temp = ((this->unk_154 - 100.0f) / 1700.0f) + 1.0f;
|
||||
func_800F436C(&thisx->projectedPos, 0x2085, temp);
|
||||
func_800F436C(&thisx->projectedPos, NA_SE_EV_WINDMILL_LEVEL - SFX_FLAG, temp);
|
||||
Math_ApproachF(&this->unk_154, this->unk_158, this->unk_15C, 100.0f);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue