mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-21 10:57:15 -04:00
fix UMAPINFO music when using -skisec
This commit is contained in:
parent
46eeb2ef09
commit
f69d621337
@ -348,9 +348,9 @@ static void G_DemoSkipTics(void)
|
||||
|
||||
if (playback_skiptics < curtic)
|
||||
{
|
||||
playback_skiptics = 0;
|
||||
G_EnableWarp(false);
|
||||
S_RestartMusic();
|
||||
playback_skiptics = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -536,15 +536,14 @@ void S_ChangeMusInfoMusic (int lumpnum, int looping)
|
||||
{
|
||||
musicinfo_t *music;
|
||||
|
||||
if (nomusicparm)
|
||||
if (PLAYBACK_SKIP)
|
||||
{
|
||||
musinfo.current_item = lumpnum;
|
||||
return;
|
||||
}
|
||||
|
||||
// [crispy] play no music if this is not the right map
|
||||
if (nodrawers && singletics)
|
||||
if (nomusicparm)
|
||||
{
|
||||
musinfo.current_item = lumpnum;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user