diff options
Diffstat (limited to '')
-rw-r--r-- | src/control/ScriptDebug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/ScriptDebug.cpp b/src/control/ScriptDebug.cpp index e9014088..63508217 100644 --- a/src/control/ScriptDebug.cpp +++ b/src/control/ScriptDebug.cpp @@ -1423,10 +1423,10 @@ CTheScripts::SwitchToMission(int32 mission) #endif CTimer::Suspend(); int offset = CTheScripts::MultiScriptArray[mission]; - CFileMgr::ChangeDir("\\"); #ifdef USE_DEBUG_SCRIPT_LOADER - int handle = open_script(); + int handle = OpenScript(); #else + CFileMgr::ChangeDir("\\"); int handle = CFileMgr::OpenFile("data\\main.scm", "rb"); #endif CFileMgr::Seek(handle, offset, 0); |