mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +00:00
- fixed music setup for Duke3D.
The parser prepends a '/' to the names which needs to be removed when looking up the music.
This commit is contained in:
parent
550576d94d
commit
7edcd3125a
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ static FString lastMusicLevel, lastMusic;
|
||||||
int Mus_Play(const char *mapname, const char *fn, bool loop)
|
int Mus_Play(const char *mapname, const char *fn, bool loop)
|
||||||
{
|
{
|
||||||
if (mus_blocked) return 1; // Caller should believe it succeeded.
|
if (mus_blocked) return 1; // Caller should believe it succeeded.
|
||||||
|
if (*fn == '/') fn++;
|
||||||
// Store the requested names for resuming.
|
// Store the requested names for resuming.
|
||||||
lastMusicLevel = mapname;
|
lastMusicLevel = mapname;
|
||||||
lastMusic = fn;
|
lastMusic = fn;
|
||||||
|
|
Loading…
Reference in a new issue