diff options
| -rw-r--r-- | base/main.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/base/main.cpp b/base/main.cpp index bfb1a499f9..49b36c312a 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -205,9 +205,6 @@ static int runGame(const Plugin *plugin, OSystem &system, const Common::String &  		return 0;  	} -	// Now the engine should've set up all debug levels so we can use the command line arugments here -	Common::enableSpecialDebugLevelList(edebuglevels); -  	// Set the window caption to the game name  	Common::String caption(ConfMan.get("description")); @@ -240,6 +237,9 @@ static int runGame(const Plugin *plugin, OSystem &system, const Common::String &  	// Init the engine (this might change the screen parameters  	result = engine->init(); +	// Now the engine should've set up all debug levels so we can use the command line arugments here +	Common::enableSpecialDebugLevelList(edebuglevels); +  	// Run the game engine if the initialization was successful.  	if (result == 0) {  		result = engine->go(); | 
