From 04a6c52deb66bb50a78ca683d40af0a265236c47 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Mon, 20 Jun 2022 06:00:15 +0200 Subject: [PATCH] Add uncommited change from db0e95d2 (merge c5065eec/f6b9708d) --- radiant/qe3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radiant/qe3.cpp b/radiant/qe3.cpp index 69cf4c06..ab62a919 100644 --- a/radiant/qe3.cpp +++ b/radiant/qe3.cpp @@ -101,7 +101,7 @@ void QE_InitVFS(){ if ( !string_equal( homepath, enginepath ) ) { // ~/./ - if ( userRoot && !string_equal( globalRoot, homepath ) && !g_disableHomePath ) { + if ( homepath && !string_equal( enginepath, homepath ) && !g_disableHomePath ) { StringOutputStream userGamePath( 256 ); userGamePath << homepath << gamename << '/'; GlobalFileSystem().initDirectory( userGamePath.c_str() ); @@ -120,7 +120,7 @@ void QE_InitVFS(){ if ( !string_equal( homepath, enginepath ) ) { // ~/./ - if ( userRoot && !string_equal( globalRoot, homepath ) && !g_disableHomePath ) { + if ( homepath && !string_equal( enginepath, homepath ) && !g_disableHomePath ) { StringOutputStream userBasePath( 256 ); userBasePath << homepath << basegame << '/'; GlobalFileSystem().initDirectory( userBasePath.c_str() ); -- 2.39.2