summaryrefslogtreecommitdiffstats
path: root/src/audio/MusicManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-24 12:47:10 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 23:39:47 +0200
commit14c71f39ff97684e6c6933cf18781e8d162d1be6 (patch)
tree15c68cd95c46d09c879e9753d397f12c28281d51 /src/audio/MusicManager.cpp
parentDon't restart OAL device when switching EAX (diff)
downloadre3-14c71f39ff97684e6c6933cf18781e8d162d1be6.tar
re3-14c71f39ff97684e6c6933cf18781e8d162d1be6.tar.gz
re3-14c71f39ff97684e6c6933cf18781e8d162d1be6.tar.bz2
re3-14c71f39ff97684e6c6933cf18781e8d162d1be6.tar.lz
re3-14c71f39ff97684e6c6933cf18781e8d162d1be6.tar.xz
re3-14c71f39ff97684e6c6933cf18781e8d162d1be6.tar.zst
re3-14c71f39ff97684e6c6933cf18781e8d162d1be6.zip
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r--src/audio/MusicManager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index 1494334b..5a176005 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -1332,7 +1332,11 @@ cMusicManager::DisplayRadioStationName()
}
else {
if (cDisplay == 0) return;
+#ifdef FIX_BUGS
+ cDisplay -= CTimer::GetLogicalFramesPassed();
+#else
cDisplay--;
+#endif
}
CFont::SetJustifyOff();