mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-19 02:04:10 +00:00
A bit more enums for ChangeMusicMode
This commit is contained in:
parent
8fb71e2555
commit
428b407ad5
2 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "common.h"
|
||||
#include "patcher.h"
|
||||
#include "audio_enums.h"
|
||||
|
||||
#include "AudioManager.h"
|
||||
|
||||
|
@ -7128,14 +7129,14 @@ cAudioManager::ProcessSpecial()
|
|||
{
|
||||
if(m_bUserPause) {
|
||||
if(!m_bPreviousUserPause) {
|
||||
MusicManager.ChangeMusicMode(0);
|
||||
MusicManager.ChangeMusicMode(MUSICMODE_FRONTEND);
|
||||
SampleManager.SetEffectsFadeVolume(maxVolume);
|
||||
SampleManager.SetMusicFadeVolume(maxVolume);
|
||||
}
|
||||
} else {
|
||||
if(m_bPreviousUserPause) {
|
||||
MusicManager.StopFrontEndTrack();
|
||||
MusicManager.ChangeMusicMode(1);
|
||||
MusicManager.ChangeMusicMode(MUSICMODE_GAME);
|
||||
}
|
||||
CPlayerPed *playerPed = FindPlayerPed();
|
||||
if(playerPed) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue