mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-24 18:31:36 +00:00
fix q3map2
This commit is contained in:
parent
85a66c9519
commit
943424faa1
1 changed files with 0 additions and 6 deletions
|
@ -244,9 +244,6 @@ char *ExpandArg( const char *path ){
|
||||||
|
|
||||||
char *ExpandPath( const char *path ){
|
char *ExpandPath( const char *path ){
|
||||||
static char full[1024];
|
static char full[1024];
|
||||||
if ( !qdir[0] ) {
|
|
||||||
Error( "ExpandPath called without qdir set" );
|
|
||||||
}
|
|
||||||
if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
|
if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
|
||||||
strcpy( full, path );
|
strcpy( full, path );
|
||||||
return full;
|
return full;
|
||||||
|
@ -257,9 +254,6 @@ char *ExpandPath( const char *path ){
|
||||||
|
|
||||||
char *ExpandGamePath( const char *path ){
|
char *ExpandGamePath( const char *path ){
|
||||||
static char full[1024];
|
static char full[1024];
|
||||||
if ( !qdir[0] ) {
|
|
||||||
Error( "ExpandGamePath called without qdir set" );
|
|
||||||
}
|
|
||||||
if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
|
if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
|
||||||
strcpy( full, path );
|
strcpy( full, path );
|
||||||
return full;
|
return full;
|
||||||
|
|
Loading…
Reference in a new issue