summaryrefslogtreecommitdiffstats
path: root/src/audio/MusicManager.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-08-02 22:20:12 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-08-02 22:20:12 +0200
commit6ba2b05443dd25b2451215bc73912dcb7b0e6240 (patch)
treee539fbb511e96622fff06cbe7fac8099aea772df /src/audio/MusicManager.cpp
parentMerge pull request #2 from GTAmodding/master (diff)
downloadre3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.gz
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.bz2
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.lz
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.xz
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.zst
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.zip
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r--src/audio/MusicManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp
index 71cc594b..0700ee63 100644
--- a/src/audio/MusicManager.cpp
+++ b/src/audio/MusicManager.cpp
@@ -8,7 +8,7 @@
#include "Camera.h"
#include "World.h"
#include "ModelIndices.h"
-#include "SampleManager.h"
+#include "sampman.h"
#include "Replay.h"
cMusicManager &MusicManager = *(cMusicManager*)0x8F3964;
@@ -57,7 +57,7 @@ void cMusicManager::DisplayRadioStationName()
if (MusicManager.m_bPlayerInCar && !MusicManager.m_bPreviousPlayerInCar)
pCurrentStation = nil;
- if (cSampleManager.IsMP3RadioChannelAvailable()) {
+ if (SampleManager.IsMP3RadioChannelAvailable()) {
gStreamedSound = MusicManager.m_nCurrentStreamedSound;
if (gStreamedSound != STREAMED_SOUND_CITY_AMBIENT && gStreamedSound != STREAMED_SOUND_WATER_AMBIENT) {
@@ -140,7 +140,7 @@ void cMusicManager::DisplayRadioStationName()
return;
};
- if (pRetune > CHATTERBOX && !CSampleManager::IsMP3RadioChannelAvailable()) {
+ if (pRetune > CHATTERBOX && !SampleManager.IsMP3RadioChannelAvailable()) {
return;
}