From 27fa5e72f775537c322d9d03dab0347a90eaf3f5 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 4 Mar 2013 01:24:17 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/game.c | 7 +++++-- polymer/eduke32/source/game.h | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index ff5730feb..1abe509e5 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -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) diff --git a/polymer/eduke32/source/game.h b/polymer/eduke32/source/game.h index e2afae6b9..d9b22b3dd 100644 --- a/polymer/eduke32/source/game.h +++ b/polymer/eduke32/source/game.h @@ -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_ {