From 38bb71bada08555afa9eb11d94ed5b5c3205f5f4 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Wed, 29 Aug 2018 15:21:17 -0400 Subject: [PATCH] Add mapmusposition placeholder to LE 413 change music --- src/p_spec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/p_spec.c b/src/p_spec.c index 103312b52..b3c8da9bd 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2299,6 +2299,8 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) if (!(line->flags & ML_BLOCKMONSTERS)) mapmusflags |= MUSIC_RELOADRESET; + mapmusposition = 0; + S_ChangeMusic(mapmusname, mapmusflags, !(line->flags & ML_EFFECT4)); // Except, you can use the ML_BLOCKMONSTERS flag to change this behavior.