mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 20:10:00 +00:00
Fix cMusicManager::SetRadioChannelByScript
This commit is contained in:
parent
3b85457020
commit
c0be4a3f7d
|
@ -223,8 +223,8 @@ void
|
||||||
cMusicManager::SetRadioChannelByScript(uint32 station, int32 pos)
|
cMusicManager::SetRadioChannelByScript(uint32 station, int32 pos)
|
||||||
{
|
{
|
||||||
if (m_bIsInitialised) {
|
if (m_bIsInitialised) {
|
||||||
if (station == USERTRACK)
|
if (station == STREAMED_SOUND_RADIO_MP3_PLAYER)
|
||||||
station = RADIO_OFF;
|
station = STREAMED_SOUND_CITY_AMBIENT;
|
||||||
if (station <= STREAMED_SOUND_RADIO_POLICE) {
|
if (station <= STREAMED_SOUND_RADIO_POLICE) {
|
||||||
m_bRadioSetByScript = true;
|
m_bRadioSetByScript = true;
|
||||||
m_nRadioStation = station;
|
m_nRadioStation = station;
|
||||||
|
@ -564,8 +564,8 @@ cMusicManager::ServiceGameMode()
|
||||||
gRetuneCounter = 0;
|
gRetuneCounter = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (m_nAnnouncement == NO_TRACK)
|
if(m_nAnnouncement == NO_TRACK) {
|
||||||
{
|
m_nStreamedTrack = NO_TRACK;
|
||||||
m_nFrontendTrack = GetCarTuning();
|
m_nFrontendTrack = GetCarTuning();
|
||||||
field_2 = false;
|
field_2 = false;
|
||||||
gRetuneCounter = 0;
|
gRetuneCounter = 0;
|
||||||
|
|
Loading…
Reference in a new issue