From: Holger Schemel Date: Wed, 12 Apr 2023 11:46:58 +0000 (+0200) Subject: fixed bug with checking music only for current instead of all levels X-Git-Tag: 4.3.6.0~34 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=408d81c8a7f6463dd6d8cb7e4c14734acb5b3868;p=rocksndiamonds.git fixed bug with checking music only for current instead of all levels --- 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;