Merge branch SRB2:next into linux-customshader-compilation-fix

This commit is contained in:
Vlad Doc 2024-05-09 16:35:45 +00:00
commit f291c8466c

View file

@ -2256,9 +2256,9 @@ void S_ChangeMusicEx(const char *mmusic, UINT16 mflags, boolean looping, UINT32
return;
strncpy(newmusic, mmusic, sizeof(newmusic)-1);
newmusic[6] = 0;
if (LUA_HookMusicChange(music_name, &hook_param))
return;
newmusic[6] = 0;
// No Music (empty string)
if (newmusic[0] == 0)