aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMax Horn2008-02-15 17:01:35 +0000
committerMax Horn2008-02-15 17:01:35 +0000
commit88bb567e182ffd6bdc17a2c7c06990686677d81c (patch)
tree59045356b76adcb0309b7ef3cf5b5772a2883ccc /base
parent98c661d70fca0dafc0a769c918cbb03d44642b96 (diff)
downloadscummvm-rg350-88bb567e182ffd6bdc17a2c7c06990686677d81c.tar.gz
scummvm-rg350-88bb567e182ffd6bdc17a2c7c06990686677d81c.tar.bz2
scummvm-rg350-88bb567e182ffd6bdc17a2c7c06990686677d81c.zip
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
svn-id: r30871
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) {