diff --git a/code/sys/sys_win32.c b/code/sys/sys_win32.c index 58fd9aba..0ac32da4 100644 --- a/code/sys/sys_win32.c +++ b/code/sys/sys_win32.c @@ -90,7 +90,7 @@ char *Sys_DefaultHomePath( void ) FARPROC qSHGetFolderPath; HMODULE shfolder = LoadLibrary("shfolder.dll"); - if( !*homePath ) + if(!*homePath && !com_homepath) { if(shfolder == NULL) {