- Fixed: Loading music from an external file was broken.
This commit is contained in:
parent
9eda15c280
commit
98b2475fb8
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue