diff options
author | Simon Howard | 2008-05-02 18:48:43 +0000 |
---|---|---|
committer | Simon Howard | 2008-05-02 18:48:43 +0000 |
commit | 3f54daeaa3acf590569cb397eee24731f7de6c17 (patch) | |
tree | ded285d0820cddae98b9e5c458f757c8c9ba3234 /src/i_sdlsound.c | |
parent | 6b1ac97d99599ed5e8d8557313237f3ebb102ead (diff) | |
download | chocolate-doom-3f54daeaa3acf590569cb397eee24731f7de6c17.tar.gz chocolate-doom-3f54daeaa3acf590569cb397eee24731f7de6c17.tar.bz2 chocolate-doom-3f54daeaa3acf590569cb397eee24731f7de6c17.zip |
Add W_CacheLumpNum,Name API to WAD code for releasing a lump back to
cache when it is no longer needed. Switch existing code to use the new
API instead of Z_ChangeTag.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1134
Diffstat (limited to 'src/i_sdlsound.c')
-rw-r--r-- | src/i_sdlsound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c index 429581e2..b6fc9787 100644 --- a/src/i_sdlsound.c +++ b/src/i_sdlsound.c @@ -410,7 +410,7 @@ static boolean CacheSFX(int sound) // don't need the original lump any more - Z_ChangeTag(data, PU_CACHE); + W_ReleaseLumpNum(lumpnum); return true; } |