1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 06:00:00 +00:00

Fix arg types

This commit is contained in:
Sergeanur 2020-09-28 21:37:59 +03:00
parent 742ca47a43
commit 5144b5051c
2 changed files with 4 additions and 4 deletions

View file

@ -2796,7 +2796,7 @@ cAudioManager::SetupJumboTaxiSound(uint8 vol)
} }
bool bool
cAudioManager::SetupJumboWhineSound(uint8 emittingVol, int32 freq) cAudioManager::SetupJumboWhineSound(uint8 emittingVol, uint32 freq)
{ {
const float SOUND_INTENSITY = 170.0f; const float SOUND_INTENSITY = 170.0f;
@ -2828,7 +2828,7 @@ cAudioManager::SetupJumboWhineSound(uint8 emittingVol, int32 freq)
} }
bool bool
cAudioManager::SetupJumboEngineSound(uint8 vol, int32 freq) cAudioManager::SetupJumboEngineSound(uint8 vol, uint32 freq)
{ {
const float SOUND_INTENSITY = 180.0f; const float SOUND_INTENSITY = 180.0f;
if (m_sQueueSample.m_fDistance >= SOUND_INTENSITY) if (m_sQueueSample.m_fDistance >= SOUND_INTENSITY)

View file

@ -457,11 +457,11 @@ public:
void SetUpLoopingCollisionSound(const cAudioCollision &col, uint8 counter); void SetUpLoopingCollisionSound(const cAudioCollision &col, uint8 counter);
void SetUpOneShotCollisionSound(const cAudioCollision &col); void SetUpOneShotCollisionSound(const cAudioCollision &col);
bool SetupCrimeReport(); bool SetupCrimeReport();
bool SetupJumboEngineSound(uint8 vol, int32 freq); bool SetupJumboEngineSound(uint8 vol, uint32 freq);
bool SetupJumboFlySound(uint8 emittingVol); bool SetupJumboFlySound(uint8 emittingVol);
bool SetupJumboRumbleSound(uint8 emittingVol); bool SetupJumboRumbleSound(uint8 emittingVol);
bool SetupJumboTaxiSound(uint8 vol); bool SetupJumboTaxiSound(uint8 vol);
bool SetupJumboWhineSound(uint8 emittingVol, int32 freq); bool SetupJumboWhineSound(uint8 emittingVol, uint32 freq);
void SetupPedComments(cPedParams *params, uint32 sound); void SetupPedComments(cPedParams *params, uint32 sound);
void SetupSuspectLastSeenReport(); void SetupSuspectLastSeenReport();