From 337711d3215bf199260746920c46f7db85a2f70c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 17 Jun 2010 23:12:59 +0000 Subject: SCI: Get rid of duplicate _system member in SciEngine svn-id: r49965 --- engines/sci/sci.cpp | 2 +- engines/sci/sci.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'engines') 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; }; -- cgit v1.2.3