summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-05 11:45:30 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-05 11:45:30 +0200
commit5cbcaa57d7160fc4e20254fcedfec3609e8521ef (patch)
tree000c9de98a1a8c06c0dfb08d355310dc73753cb9 /src/audio
parentshoreside garage fix (diff)
parentMerge pull request #377 from Fire-Head/master (diff)
downloadre3-5cbcaa57d7160fc4e20254fcedfec3609e8521ef.tar
re3-5cbcaa57d7160fc4e20254fcedfec3609e8521ef.tar.gz
re3-5cbcaa57d7160fc4e20254fcedfec3609e8521ef.tar.bz2
re3-5cbcaa57d7160fc4e20254fcedfec3609e8521ef.tar.lz
re3-5cbcaa57d7160fc4e20254fcedfec3609e8521ef.tar.xz
re3-5cbcaa57d7160fc4e20254fcedfec3609e8521ef.tar.zst
re3-5cbcaa57d7160fc4e20254fcedfec3609e8521ef.zip
Diffstat (limited to 'src/audio')
-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()) {