aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp
index f51e97dfdd..4e330c0178 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -201,11 +201,9 @@ static int runGame(const Plugin *plugin, OSystem &system, const Common::String &
// Inform backend that the engine is about to be run
system.engineInit();
- int result;
-
// Init the engine (this might change the screen parameters)
// TODO: We should specify what return values
- result = engine->init();
+ int result = engine->init();
// Run the game engine if the initialization was successful.
if (result == 0) {