]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/image.c
Revert "also load DDS files the way DarkPlaces stores them (does DDS loading even...
[xonotic/netradiant.git] / tools / quake3 / q3map2 / image.c
index b35963e6837538fff6d09467708cd62aaff6e65b..929b15d96cf5ec6c5e256955c16d0b40f0d9fdda 100644 (file)
@@ -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 );