Skip to content

Commit

Permalink
Fix checking older extras.wad for H_INTRO lump
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Dec 10, 2024
1 parent bbc1d94 commit f1c0f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i_music.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ bool I_InitMusic(void)
music_initialized = true;

#if defined(_WIN32)
if (extras && W_GetNumForName("H_INTRO") >= 0 && (!sigil || buckethead) && (!sigil2 || thorr) && !legacyofrust)
if (extras && W_CheckNumForName("H_INTRO") >= 0 && (!sigil || buckethead) && (!sigil2 || thorr) && !legacyofrust)
return true;

if (!(windowsmidi = I_Windows_InitMusic()))
Expand Down

0 comments on commit f1c0f52

Please sign in to comment.