From f43d2c575db53c747fea8ca71f158edf021dda5c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 23 Feb 2011 13:25:22 +0100 Subject: [PATCH] Revert "also load DDS files the way DarkPlaces stores them (does DDS loading even work?)" because Radiant does not support this yet, and it won't be easy to do the same hack in Radiant. This reverts commit 8850310690375a24654e7f0ff9b76ea55ddd1470. --- tools/quake3/q3map2/image.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/quake3/q3map2/image.c b/tools/quake3/q3map2/image.c index b35963e6..929b15d9 100644 --- a/tools/quake3/q3map2/image.c +++ b/tools/quake3/q3map2/image.c @@ -419,12 +419,6 @@ image_t *ImageLoad( const char *filename ) StripExtension( name ); strcat( name, ".dds" ); size = vfsLoadFile( (const char*) name, (void**) &buffer, 0 ); - if(size <= 0) - { - memmove(name + 4, name, strlen(name) + 1); - memcpy(name, "dds/", 4); - size = vfsLoadFile( (const char*) name, (void**) &buffer, 0 ); - } if( size > 0 ) { LoadDDSBuffer( buffer, size, &image->pixels, &image->width, &image->height ); -- 2.39.2