diff options
author | aap <aap@papnet.eu> | 2020-04-03 11:49:33 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-03 11:49:33 +0200 |
commit | 3b315fec264d1200ab08aa76e93a07859ebb24c1 (patch) | |
tree | 5820b697cb24dc935d9d52f23babf36798319d97 /src/audio/MusicManager.cpp | |
parent | CCamera fixes (diff) | |
parent | Merge pull request #377 from Fire-Head/master (diff) | |
download | re3-3b315fec264d1200ab08aa76e93a07859ebb24c1.tar re3-3b315fec264d1200ab08aa76e93a07859ebb24c1.tar.gz re3-3b315fec264d1200ab08aa76e93a07859ebb24c1.tar.bz2 re3-3b315fec264d1200ab08aa76e93a07859ebb24c1.tar.lz re3-3b315fec264d1200ab08aa76e93a07859ebb24c1.tar.xz re3-3b315fec264d1200ab08aa76e93a07859ebb24c1.tar.zst re3-3b315fec264d1200ab08aa76e93a07859ebb24c1.zip |
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r-- | src/audio/MusicManager.cpp | 4 |
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()) { |