From: Timothee 'TTimo' Besset Date: Sat, 14 Apr 2012 22:31:10 +0000 (-0500) Subject: fix q3map2 X-Git-Tag: xonotic-v0.7.0~16^2^2~11 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=943424faa1514f24b63524161d299734a8c3f8bd fix q3map2 --- diff --git a/tools/quake3/common/cmdlib.c b/tools/quake3/common/cmdlib.c index 35f4d75b..3c01cc99 100644 --- a/tools/quake3/common/cmdlib.c +++ b/tools/quake3/common/cmdlib.c @@ -244,9 +244,6 @@ char *ExpandArg( const char *path ){ 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; @@ -257,9 +254,6 @@ char *ExpandPath( const char *path ){ 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;