mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Windows NT and Linux being both multi-user system, the homepath now defaults to %APPDATA%\openmohaa
(Windows NT) and ~/openmohaa
(unix)
This commit is contained in:
parent
78b3ad8075
commit
15860a7795
1 changed files with 1 additions and 2 deletions
|
@ -3451,8 +3451,7 @@ static void FS_Startup(const char* gameName)
|
|||
fs_debug = Cvar_Get( "fs_debug", "0", 0 );
|
||||
fs_basepath = Cvar_Get("fs_basepath", Sys_DefaultInstallPath(), CVAR_INIT | CVAR_PROTECTED);
|
||||
fs_basegame = Cvar_Get ("fs_basegame", "", CVAR_INIT );
|
||||
//homePath = Sys_DefaultHomePath();
|
||||
homePath = "";
|
||||
homePath = Sys_DefaultHomePath();
|
||||
if (!homePath || !homePath[0]) {
|
||||
homePath = fs_basepath->string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue