From 408d81c8a7f6463dd6d8cb7e4c14734acb5b3868 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 12 Apr 2023 13:46:58 +0200 Subject: [PATCH] fixed bug with checking music only for current instead of all levels --- src/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index 363e033e..a22098da 100644 --- a/src/files.c +++ b/src/files.c @@ -12943,7 +12943,7 @@ static boolean checkLevelSetHasMusic_NoConf(void) for (i = leveldir_current->first_level; i <= leveldir_current->last_level; i++) - if (levelset.music[level_nr] == MUS_UNDEFINED) + if (levelset.music[i] == MUS_UNDEFINED) return TRUE; return FALSE; -- 2.34.1