diff options
Diffstat (limited to 'src/r_data.c')
-rw-r--r-- | src/r_data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/r_data.c b/src/r_data.c index 2b11d82c..d03becd5 100644 --- a/src/r_data.c +++ b/src/r_data.c @@ -491,7 +491,7 @@ void R_InitTextures (void) strncpy (name,name_p+i*8, 8); patchlookup[i] = W_CheckNumForName (name); } - Z_Free (names); + W_ReleaseLumpName(DEH_String("PNAMES")); // Load the map texture definitions from textures.lmp. // The data is contained in one or two lumps, @@ -603,9 +603,9 @@ void R_InitTextures (void) Z_Free(patchlookup); - Z_Free (maptex1); + W_ReleaseLumpName(DEH_String("TEXTURE1")); if (maptex2) - Z_Free (maptex2); + W_ReleaseLumpName(DEH_String("TEXTURE2")); // Precalculate whatever possible. |