Skip to content

Commit

Permalink
fix a reference to the .mod music file
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrider3774 committed Jan 22, 2024
1 parent 5797e0b commit 7bbfe07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void CGame::SearchForMusic() {
stat(FileName, &Stats);
if (!S_ISDIR(Stats.st_mode)) {
if (strncmp(".", Entry->d_name, 1) &&
(strcmp("title.mod", Entry->d_name) != 0) &&
(strcmp("title.ogg", Entry->d_name) != 0) &&
(Teller < MaxMusicFiles)) {
if (GlobalSoundEnabled) {
Music[Teller] = Mix_LoadMUS(FileName);
Expand Down

0 comments on commit 7bbfe07

Please sign in to comment.