mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 10:11:01 +00:00
Fix running script debugger if fs_basepath is used
I don't think fs_cdpath is relevant (anymore? has it ever been?), but fs_basepath sure is.
This commit is contained in:
parent
e8a1eb8baf
commit
0f9e066bf6
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ void DebuggerClientLaunch ( void )
|
|||
GetCurrentDirectory ( MAX_PATH, curDir );
|
||||
|
||||
GetModuleFileName ( NULL, exeFile, MAX_PATH );
|
||||
const char* s = va("%s +set fs_game %s +set fs_cdpath %s +debugger", exeFile, cvarSystem->GetCVarString( "fs_game" ), cvarSystem->GetCVarString( "fs_cdpath" ) );
|
||||
const char* s = va("%s +set fs_game %s +set fs_basepath %s +debugger", exeFile, cvarSystem->GetCVarString( "fs_game" ), cvarSystem->GetCVarString( "fs_basepath" ) );
|
||||
CreateProcess ( NULL, (LPSTR)s,
|
||||
NULL, NULL, FALSE, 0, NULL, curDir, &startup, &process );
|
||||
|
||||
|
|
Loading…
Reference in a new issue