From e4055d59ddef790030fb3a5b050f29f1c70e3ca3 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Wed, 1 Sep 2021 13:25:27 +0700 Subject: [PATCH] don't change MUSINFO music if nomusicparm is set --- Source/s_sound.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/s_sound.c b/Source/s_sound.c index b0e86679..0961c2ca 100644 --- a/Source/s_sound.c +++ b/Source/s_sound.c @@ -616,6 +616,11 @@ void S_ChangeMusInfoMusic (int lumpnum, int looping) { musicinfo_t *music; + if (nomusicparm) + { + return; + } + // [crispy] restarting the map plays the original music //prevmap = -1;