|
|
|
@ -1029,6 +1029,10 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
@@ -1029,6 +1029,10 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
|
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#if XASH_WIN32 |
|
|
|
|
COM_FixSlashes( host.rootdir ); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
len = Q_strlen( host.rootdir ); |
|
|
|
|
|
|
|
|
|
if( len && host.rootdir[len - 1] == '/' ) |
|
|
|
@ -1045,6 +1049,10 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
@@ -1045,6 +1049,10 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
|
|
|
|
|
Q_strncpy( host.rodir, roDir, sizeof( host.rodir )); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#if XASH_WIN32 |
|
|
|
|
COM_FixSlashes( host.rootdir ); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
len = Q_strlen( host.rodir ); |
|
|
|
|
|
|
|
|
|
if( len && host.rodir[len - 1] == '/' ) |
|
|
|
|