mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +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)
|
||||
{
|
||||
if (mus_blocked) return 1; // Caller should believe it succeeded.
|
||||
if (*fn == '/') fn++;
|
||||
// Store the requested names for resuming.
|
||||
lastMusicLevel = mapname;
|
||||
lastMusic = fn;
|
||||
|
|
Loading…
Reference in a new issue