Commit 29ccc1ec authored by Richard Gobeille's avatar Richard Gobeille
Browse files

editor: fix "gameexecutable" option in configuration file

parent b0920836
......@@ -646,6 +646,8 @@ int app_main(int argc, char const* const* argv)
editstatus = 1;
Bstrncpy(game_executable, DefaultGameLocalExec, sizeof(game_executable));
if ((i = ExtPreInit(argc,argv)) < 0) return -1;
#ifdef STARTUP_SETUP_WINDOW
if (i) cmdsetup = 1;
......@@ -700,8 +702,6 @@ int app_main(int argc, char const* const* argv)
if (!buildvfs_getcwd(program_origcwd,BMAX_PATH))
program_origcwd[0] = '\0';
Bstrncpy(game_executable, DefaultGameLocalExec, sizeof(game_executable));
if (enginePreInit())
M32_FatalEngineError();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment