From 0f9e066bf6e3863a261b737d8547d94136e56aa5 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Wed, 18 May 2022 04:22:25 +0200 Subject: [PATCH] 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. --- neo/tools/debugger/debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/tools/debugger/debugger.cpp b/neo/tools/debugger/debugger.cpp index 3bb9043c..6acf3888 100644 --- a/neo/tools/debugger/debugger.cpp +++ b/neo/tools/debugger/debugger.cpp @@ -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 );