summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-30 20:46:08 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-30 20:46:08 +0200
commitdd790b00e511b4a15c7d09fe1393fb77b0983280 (patch)
tree9e903dcba7aa0fc14e906bbd4860b07c40b96457 /src/audio
parentMerge branch 'miami' into lcs (diff)
parentfix (diff)
downloadre3-dd790b00e511b4a15c7d09fe1393fb77b0983280.tar
re3-dd790b00e511b4a15c7d09fe1393fb77b0983280.tar.gz
re3-dd790b00e511b4a15c7d09fe1393fb77b0983280.tar.bz2
re3-dd790b00e511b4a15c7d09fe1393fb77b0983280.tar.lz
re3-dd790b00e511b4a15c7d09fe1393fb77b0983280.tar.xz
re3-dd790b00e511b4a15c7d09fe1393fb77b0983280.tar.zst
re3-dd790b00e511b4a15c7d09fe1393fb77b0983280.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/MusicManager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index 9032a8e7..855de1d0 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -315,8 +315,10 @@ cMusicManager::ChangeMusicMode(uint8 mode)
#ifdef PAUSE_RADIO_IN_FRONTEND
// rewind those streams we weren't listening right now
- for( uint32 i = STREAMED_SOUND_RADIO_HEAD; i < STREAMED_SOUND_CUTSCENE_BIKER; i++ )
+ for( uint32 i = STREAMED_SOUND_RADIO_HEAD; i < STREAMED_SOUND_CUTSCENE_BIKER; i++ ) {
m_aTracks[i].m_nPosition = GetTrackStartPos(i);
+ m_aTracks[i].m_nLastPosCheckTimer = CTimer::GetTimeInMillisecondsPauseMode();
+ }
#endif
break;