summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioLogic.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-24 14:25:51 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-24 14:25:51 +0200
commitd4a2113a8ab6e31e281e770161a0ddfa3c4e6eb8 (patch)
treeb989f8ef92315bb0fbf8e2318181123d12ea2a04 /src/audio/AudioLogic.cpp
parentMerge branch 'master' into miami (diff)
downloadre3-d4a2113a8ab6e31e281e770161a0ddfa3c4e6eb8.tar
re3-d4a2113a8ab6e31e281e770161a0ddfa3c4e6eb8.tar.gz
re3-d4a2113a8ab6e31e281e770161a0ddfa3c4e6eb8.tar.bz2
re3-d4a2113a8ab6e31e281e770161a0ddfa3c4e6eb8.tar.lz
re3-d4a2113a8ab6e31e281e770161a0ddfa3c4e6eb8.tar.xz
re3-d4a2113a8ab6e31e281e770161a0ddfa3c4e6eb8.tar.zst
re3-d4a2113a8ab6e31e281e770161a0ddfa3c4e6eb8.zip
Diffstat (limited to 'src/audio/AudioLogic.cpp')
-rw-r--r--src/audio/AudioLogic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index 163a34e7..f3dc1bc9 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -2305,7 +2305,9 @@ cAudioManager::ProcessPlayersVehicleEngine(cVehicleParams& params, CVehicle* veh
#else
if (!SampleManager.InitialiseChannel(CHANNEL_PLAYER_VEHICLE_ENGINE, soundOffset + SFX_CAR_ACCEL_1, SFX_BANK_0))
return;
+#endif
SampleManager.SetChannelLoopCount(CHANNEL_PLAYER_VEHICLE_ENGINE, 1);
+#ifndef GTA_PS2
SampleManager.SetChannelLoopPoints(CHANNEL_PLAYER_VEHICLE_ENGINE, 0, -1);
#endif
}