mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- fix XM started right after game paused
This commit is contained in:
parent
6f0492444b
commit
c08f97dc87
@ -1786,7 +1786,7 @@ void InitMusic(int musicnum)
|
||||
InitXMData((unsigned char*)music_pt, 0, 0);
|
||||
|
||||
// 8 XM channels start after first sfx channels
|
||||
Song_ID = XM_Init(VABID, 0, 0, MAX_SFX_CHANNELS, 1, -1, 0, 0);
|
||||
Song_ID = XM_Init(VABID, 0, 0, MAX_SFX_CHANNELS, 1, -1, 0x80, 0);
|
||||
|
||||
if (music_paused != 0)
|
||||
XM_Pause(Song_ID);
|
||||
|
@ -1348,10 +1348,8 @@ void StepGame(void)
|
||||
int i;
|
||||
PLAYER* pl;
|
||||
|
||||
if (CameraCnt == 3)
|
||||
{
|
||||
if (CameraCnt == 3 && !pauseflag)
|
||||
StartXM(gDriver1Music);
|
||||
}
|
||||
|
||||
if (doSpooling)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user