diff --git a/reaction/code/renderer/tr_image.c b/reaction/code/renderer/tr_image.c index 4ed337ed..58c15c75 100644 --- a/reaction/code/renderer/tr_image.c +++ b/reaction/code/renderer/tr_image.c @@ -977,7 +977,6 @@ image_t *R_CreateImage2( const char *name, const byte *pic, int width, int heigh qboolean mipmap, qboolean allowPicmip, int glWrapClampMode, qboolean cube ) { image_t *image; qboolean isLightmap = qfalse; - long hash; if (strlen(name) >= MAX_QPATH ) { ri.Error (ERR_DROP, "R_CreateImage: \"%s\" is too long", name); @@ -1046,10 +1045,6 @@ image_t *R_CreateImage2( const char *name, const byte *pic, int width, int heigh GL_SelectTexture( 0 ); - hash = generateHashValue(name); - image->next = hashTable[hash]; - hashTable[hash] = image; - return image; }