mirror of https://github.com/PrimeDecomp/prime.git
Fix CSfxManager::AddListener
This commit is contained in:
parent
50a6575c49
commit
851320a6ff
|
@ -88,7 +88,7 @@ public:
|
|||
|
||||
static void AddListener(ESfxChannels channel, const CVector3f& pos, const CVector3f& dir,
|
||||
const CVector3f& vec1, const CVector3f& vec2, float f1, float f2,
|
||||
uint w1, uchar maxVolume, float f3);
|
||||
float f3, uint w1, const uchar maxVolume);
|
||||
static void Shutdown();
|
||||
static ushort TranslateSFXID(ushort);
|
||||
|
||||
|
|
|
@ -46,8 +46,8 @@ CCameraManager::CCameraManager(TUniqueId curCamera)
|
|||
, x3b8_25_(false)
|
||||
, x3bc_curFov(sThirdPersonFOV) {
|
||||
CSfxManager::AddListener(CSfxManager::kSC_Game, CVector3f::Zero(), CVector3f::Zero(),
|
||||
CVector3f(1.f, 0.f, 0.f), CVector3f(0.f, 0.f, 1.f), 50.f, 50.f, 1,
|
||||
CAudioSys::kMaxVolume, 1000.f);
|
||||
CVector3f(1.f, 0.f, 0.f), CVector3f(0.f, 0.f, 1.f), 50.f, 50.f, 1000.f,
|
||||
1, CAudioSys::kMaxVolume);
|
||||
sAspectRatio = (float)CGraphics::GetViewport().mWidth / CGraphics::GetViewport().mHeight;
|
||||
sFirstPersonFOV = gpTweakGame->GetFirstPersonFOV();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue