From d432cf38378ae887d48c627a0b2aa8d33565689d Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 3 Apr 2023 22:29:23 +0100 Subject: [PATCH] musicdef important parameter: Guarantee match by touppering the character --- src/s_sound.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/s_sound.c b/src/s_sound.c index 7fd71db5e..0bcab5e26 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -1979,6 +1979,7 @@ ReadMusicDefFields } else if (!stricmp(stoken, "important")) { + textline[0] = toupper(textline[0]); def->important = (textline[0] == 'Y' || textline[0] == 'T' || textline[0] == '1'); } else