diff options
Diffstat (limited to 'src/hexen/r_data.c')
-rw-r--r-- | src/hexen/r_data.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |