aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2010-06-17 23:12:59 +0000
committerMax Horn2010-06-17 23:12:59 +0000
commit337711d3215bf199260746920c46f7db85a2f70c (patch)
treeea6b0abbaeee1f8a0636f2c9138342a811eed3c4 /engines
parent69fb7032460e7874d12d8f07bcc436eb0bbab18d (diff)
downloadscummvm-rg350-337711d3215bf199260746920c46f7db85a2f70c.tar.gz
scummvm-rg350-337711d3215bf199260746920c46f7db85a2f70c.tar.bz2
scummvm-rg350-337711d3215bf199260746920c46f7db85a2f70c.zip
SCI: Get rid of duplicate _system member in SciEngine
svn-id: r49965
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sci.cpp2
-rw-r--r--engines/sci/sci.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index f29811cfae..c594184f29 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -72,7 +72,7 @@ SciEngine *g_sci = 0;
class GfxDriver;
SciEngine::SciEngine(OSystem *syst, const ADGameDescription *desc)
- : Engine(syst), _gameDescription(desc), _system(syst) {
+ : Engine(syst), _gameDescription(desc) {
assert(g_sci == 0);
g_sci = this;
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index 6a069fecda..5ea5edc17b 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -272,7 +272,6 @@ private:
EventManager *_eventMan;
reg_t _gameObj; /**< Pointer to the game object */
Console *_console;
- OSystem *_system;
};