diff --git a/Source/r_data.c b/Source/r_data.c index 4f54c50e..d5af4914 100644 --- a/Source/r_data.c +++ b/Source/r_data.c @@ -543,7 +543,6 @@ void R_InitTextures (void) char *names; char *name_p; int *patchlookup; - int totalwidth; int nummappatches; int offset; int maxoff, maxoff2; @@ -626,8 +625,6 @@ void R_InitTextures (void) textureheight = Z_Malloc(numtextures*sizeof*textureheight, PU_STATIC, 0); texturebrightmap = Z_Malloc (numtextures * sizeof(*texturebrightmap), PU_STATIC, 0); - totalwidth = 0; - { // Really complex printing shit... int temp1 = W_GetNumForName("S_START"); int temp2 = W_GetNumForName("S_END") - 1; @@ -720,8 +717,6 @@ void R_InitTextures (void) texturewidthmask[i] = j-1; textureheight[i] = texture->height<width; - - totalwidth += texture->width; } Z_Free(patchlookup); // killough