From: Rudolf Polzer Date: Wed, 23 Feb 2011 12:25:22 +0000 (+0100) Subject: Revert "also load DDS files the way DarkPlaces stores them (does DDS loading even... X-Git-Tag: xonotic-v0.5.0~44 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f43d2c575db53c747fea8ca71f158edf021dda5c;p=xonotic%2Fnetradiant.git 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. --- 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 );