From bb9ceef0a9b9af7ef83a72bf8a69293227d2db53 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 9 Oct 2008 18:46:10 +0000 Subject: Replace Z_ChangeTag/Z_Free usage with W_ReleaseLump* Subversion-branch: /branches/raven-branch Subversion-revision: 1346 --- src/hexen/r_data.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hexen/r_data.c') diff --git a/src/hexen/r_data.c b/src/hexen/r_data.c index 927b6419..dfb9b246 100644 --- a/src/hexen/r_data.c +++ b/src/hexen/r_data.c @@ -324,7 +324,7 @@ void R_InitTextures(void) strncpy(name, name_p + i * 8, 8); patchlookup[i] = W_CheckNumForName(name); } - Z_Free(names); + W_ReleaseLumpName("PNAMES"); // // load the map texture definitions from textures.lmp @@ -402,9 +402,9 @@ void R_InitTextures(void) totalwidth += texture->width; } - Z_Free(maptex1); + W_ReleaseLumpName("TEXTURE1"); if (maptex2) - Z_Free(maptex2); + W_ReleaseLumpName("TEXTURE2"); // // precalculate whatever possible -- cgit v1.2.3