]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/vfspk3/vfs.cpp
radiant/texwindow: beautify wad list
[xonotic/netradiant.git] / plugins / vfspk3 / vfs.cpp
index 3806ae60b5d909a4e55e9f957ab7f635129043c2..ded3d048f817a5278b0dec1f05762c96339965f2 100644 (file)
@@ -934,6 +934,9 @@ Archive* getArchive( const char* archiveName, bool pakonly ){
                if ( path_equal( ( *i ).name.c_str(), archiveName ) ) {
                        return ( *i ).archive;
                }
+               else if ( path_equal( path_get_filename_start( ( *i ).name.c_str() ), archiveName ) ) {
+                       return ( *i ).archive;
+               }
        }
        return 0;
 }