mirror of https://github.com/ZDoom/gzdoom-gles.git
- Fixed: Loading music from an external file was broken.
This commit is contained in:
parent
9eda15c280
commit
98b2475fb8
|
@ -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
|
// shutdown old music
|
||||||
S_StopMusic (true);
|
S_StopMusic (true);
|
||||||
|
|
Loading…
Reference in New Issue