mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
fix handling music lumps with 0 length (#130)
This commit is contained in:
parent
bddeb3927c
commit
ae80eca00d
@ -673,6 +673,7 @@ void S_StopMusic(void)
|
||||
|
||||
I_StopSong(mus_playing->handle);
|
||||
I_UnRegisterSong(mus_playing->handle);
|
||||
if (mus_playing->data != NULL) // for wads with "empty" music lumps (Nihility.wad)
|
||||
Z_ChangeTag(mus_playing->data, PU_CACHE);
|
||||
|
||||
mus_playing->data = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user