]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fix q3map2
authorTimothee 'TTimo' Besset <ttimo@ttimo.net>
Sat, 14 Apr 2012 22:31:10 +0000 (17:31 -0500)
committerTimothee 'TTimo' Besset <ttimo@ttimo.net>
Sat, 14 Apr 2012 22:31:10 +0000 (17:31 -0500)
tools/quake3/common/cmdlib.c

index 35f4d75bd68dcb0767c820e73963420a8607c1c8..3c01cc9923663a98c1fa282127d6755f6d7a4573 100644 (file)
@@ -244,9 +244,6 @@ char *ExpandArg( const char *path ){
 
 char *ExpandPath( const char *path ){
        static char full[1024];
 
 char *ExpandPath( const char *path ){
        static char full[1024];
-       if ( !qdir[0] ) {
-               Error( "ExpandPath called without qdir set" );
-       }
        if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
                strcpy( full, path );
                return full;
        if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
                strcpy( full, path );
                return full;
@@ -257,9 +254,6 @@ char *ExpandPath( const char *path ){
 
 char *ExpandGamePath( const char *path ){
        static char full[1024];
 
 char *ExpandGamePath( const char *path ){
        static char full[1024];
-       if ( !qdir[0] ) {
-               Error( "ExpandGamePath called without qdir set" );
-       }
        if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
                strcpy( full, path );
                return full;
        if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
                strcpy( full, path );
                return full;