- 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

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);