summaryrefslogtreecommitdiffstats
path: root/src/audio/MusicManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-02 08:19:33 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-02 08:20:45 +0200
commit6e6912b6137d6f1fdff6410f0369266cd7d6fb30 (patch)
tree162cfd97c822f7526b5b74e20235fff330b3a440 /src/audio/MusicManager.cpp
parentAudioScriptObject finished (diff)
downloadre3-6e6912b6137d6f1fdff6410f0369266cd7d6fb30.tar
re3-6e6912b6137d6f1fdff6410f0369266cd7d6fb30.tar.gz
re3-6e6912b6137d6f1fdff6410f0369266cd7d6fb30.tar.bz2
re3-6e6912b6137d6f1fdff6410f0369266cd7d6fb30.tar.lz
re3-6e6912b6137d6f1fdff6410f0369266cd7d6fb30.tar.xz
re3-6e6912b6137d6f1fdff6410f0369266cd7d6fb30.tar.zst
re3-6e6912b6137d6f1fdff6410f0369266cd7d6fb30.zip
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r--src/audio/MusicManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index 1f1c343a..d840c57b 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -17,8 +17,6 @@
cMusicManager &MusicManager = *(cMusicManager *)0x8F3964;
int32 &gNumRetunePresses = *(int32 *)0x650B80;
-wchar *pCurrentStation = (wchar *)0x650B9C;
-uint8 &cDisplay = *(uint8 *)0x650BA1;
int32 &gRetuneCounter = *(int32*)0x650B84;
bool& bHasStarted = *(bool*)0x650B7C;
@@ -72,6 +70,8 @@ cMusicManager::DisplayRadioStationName()
int8 pRetune;
int8 gStreamedSound;
int8 gRetuneCounter;
+ static wchar *pCurrentStation = nil;
+ static uint8 cDisplay = 0;
if(!CTimer::GetIsPaused() && !TheCamera.m_WideScreenOn && PlayerInCar() &&
!CReplay::IsPlayingBack()) {