summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioLogic.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-22 00:20:51 +0100
committerwithmorten <morten.with@gmail.com>2021-01-22 00:20:51 +0100
commitd1317f8fa649120f841f8c1f8bcf17b3ee74c235 (patch)
tree5adc99bd4296a54cc49354b291876603a72eed6e /src/audio/AudioLogic.cpp
parentfuck (diff)
downloadre3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar
re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.gz
re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.bz2
re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.lz
re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.xz
re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.zst
re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioLogic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index b5127fc5..7d759279 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -305,11 +305,11 @@ cAudioManager::ProcessPlayerMood()
playerPed = FindPlayerPed();
if (playerPed != nil) {
- if (playerPed->m_pWanted->m_nWantedLevel > 3) {
+ if (playerPed->m_pWanted->GetWantedLevel() > 3) {
m_nPlayerMood = PLAYER_MOOD_ANGRY;
return;
}
- if (playerPed->m_pWanted->m_nWantedLevel > 1) {
+ if (playerPed->m_pWanted->GetWantedLevel() > 1) {
m_nPlayerMood = PLAYER_MOOD_PISSED_OFF;
return;
}
@@ -5678,7 +5678,7 @@ cAudioManager::GetCopTalkSfx(CPed *ped, int16 sound)
case SOUND_PED_ATTACK: GetPhrase(sfx, ped->m_lastComment, 8494, 4); break;
case SOUND_PED_EVADE: GetPhrase(sfx, ped->m_lastComment, 8491, 3); break;
case SOUND_PED_PED_COLLISION:
- if(FindPlayerPed()->m_pWanted->m_nWantedLevel <= 0) return NO_SAMPLE;
+ if(FindPlayerPed()->m_pWanted->GetWantedLevel() <= 0) return NO_SAMPLE;
GetPhrase(sfx, ped->m_lastComment, 8476, 5);
break;
default: return GetGenericMaleTalkSfx(ped, sound);