Fix arg types

This commit is contained in:
Sergeanur 2020-09-28 21:37:59 +03:00
parent 9cce324316
commit 2129cc2906
2 changed files with 4 additions and 4 deletions

View File

@ -3646,7 +3646,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;
@ -3678,7 +3678,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

@ -405,11 +405,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();