- Fixed: Loading music from an external file was broken.

This commit is contained in:
Braden Obrzut 2015-03-25 17:28:05 -04:00
parent 9eda15c280
commit 98b2475fb8
1 changed files with 5 additions and 0 deletions

View File

@ -2482,6 +2482,11 @@ bool S_ChangeMusic (const char *musicname, int order, bool looping, bool force)
}
}
}
else
{
// Load an external file.
reader.reset(new FileReader(musicname));
}
// shutdown old music
S_StopMusic (true);