summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-18 17:37:10 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-18 17:37:10 +0200
commit01c70dfb76558baded969964e4a57f4f27f2337b (patch)
tree7e1983c26babe0b0a9a3d9f29b39cdaeb9aa8413 /src/audio
parentOne more type fix (diff)
downloadre3-01c70dfb76558baded969964e4a57f4f27f2337b.tar
re3-01c70dfb76558baded969964e4a57f4f27f2337b.tar.gz
re3-01c70dfb76558baded969964e4a57f4f27f2337b.tar.bz2
re3-01c70dfb76558baded969964e4a57f4f27f2337b.tar.lz
re3-01c70dfb76558baded969964e4a57f4f27f2337b.tar.xz
re3-01c70dfb76558baded969964e4a57f4f27f2337b.tar.zst
re3-01c70dfb76558baded969964e4a57f4f27f2337b.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioLogic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index 04df506d..9b8e278b 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -282,7 +282,7 @@ cAudioManager::ProcessSpecial()
}
CPlayerPed *playerPed = FindPlayerPed();
if (playerPed) {
- if(playerPed->EnteringCar() && !playerPed->bInVehicle)
+ if(!playerPed->EnteringCar() && !playerPed->bInVehicle)
SampleManager.StopChannel(CHANNEL_PLAYER_VEHICLE_ENGINE);
}
}