]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/path_init.c
Merge commit 'ed4c8c204443726e852a4c8927b3f8d2571cc522' into garux-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / path_init.c
index f8d978040ed5d6c22627ceb365dd31b81f2fc165..66f256b48017a0c9033d214d7b53b59ec849c2c1 100644 (file)
@@ -176,6 +176,7 @@ void LokiInitPaths( char *argv0 ){
                                path++;
                        }
 
+
                        /* concatenate */
                        if ( last > ( path + 1 ) ) {
                                // +1 hack: Q_strncat calls Q_strncpyz that expects a len including '\0'
@@ -530,16 +531,6 @@ void InitPaths( int *argc, char **argv ){
                        homeBasePath = ".";
                        argv[ i ] = NULL;
                }
-
-               /* -fs_pakpath */
-               else if ( strcmp( argv[ i ], "-fs_pakpath" ) == 0 ) {
-                       if ( ++i >= *argc ) {
-                               Error( "Out of arguments: No path specified after %s.", argv[ i - 1 ] );
-                       }
-                       argv[ i - 1 ] = NULL;
-                       AddPakPath( argv[ i ] );
-                       argv[ i ] = NULL;
-               }
        }
 
        /* remove processed arguments */