mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 13:55:36 -04:00
actually call Z_Free() on pitch-shifted samples
Turns out that merely calling Z_ChangeTag(,PU_CACHE) leaves enough zone memory fragmentation so that the dsbossit sound doesn't fit anymore.
This commit is contained in:
parent
7141b415f8
commit
9658ece4f3
@ -103,7 +103,7 @@ static void stopchan(int handle)
|
||||
// [FG] immediately free samples not connected to a sound SFX
|
||||
if (channelinfo[handle].id == NULL)
|
||||
{
|
||||
Z_ChangeTag(channelinfo[handle].data, PU_CACHE);
|
||||
Z_Free(channelinfo[handle].data);
|
||||
}
|
||||
channelinfo[handle].data = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user