Make stopping of all sounds after completion of LOGO.ANM conditional on the newly introduced (LOGO_FLAGS & LOGO_STOPANIMSOUNDS). Modifies r3217.

git-svn-id: https://svn.eduke32.com/eduke32@3545 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2013-03-04 01:24:17 +00:00
parent e2701c9a5a
commit 27fa5e72f7
2 changed files with 7 additions and 3 deletions

View file

@ -9355,8 +9355,11 @@ static void G_DisplayLogo(void)
clearallviews(0L);
nextpage();
FX_StopAllSounds();
S_ClearSoundLocks();
if (logoflags & LOGO_STOPANIMSOUNDS)
{
FX_StopAllSounds();
S_ClearSoundLocks();
}
}
if (logoflags & LOGO_PLAYMUSIC)

View file

@ -58,7 +58,8 @@ enum LogoFlags_t {
LOGO_THREEDEE = 0x00000040,
LOGO_PLUTOPAKSPRITE = 0x00000080,
LOGO_SHAREWARESCREENS = 0x00000100,
LOGO_TENSCREEN = 0x00000200
LOGO_TENSCREEN = 0x00000200,
LOGO_STOPANIMSOUNDS = 0x00000400
};
typedef enum basepal_ {