aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-10 12:55:08 +0200
committerEugene Sandulenko2019-06-10 12:55:08 +0200
commit9ba6b79e1a0bd48fe69879a145c63296e631cf5f (patch)
tree1fa9d1022ff22b71971ee495137a195281192afd /engines/made
parent4a0e2e528bf16f562e78542eb1851b45f2de53f6 (diff)
downloadscummvm-rg350-9ba6b79e1a0bd48fe69879a145c63296e631cf5f.tar.gz
scummvm-rg350-9ba6b79e1a0bd48fe69879a145c63296e631cf5f.tar.bz2
scummvm-rg350-9ba6b79e1a0bd48fe69879a145c63296e631cf5f.zip
MADE: Remove leftover code. This lets run gracefully with -p parameter
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/made.cpp9
-rw-r--r--engines/made/made.h6
2 files changed, 0 insertions, 15 deletions
diff --git a/engines/made/made.cpp b/engines/made/made.cpp
index 181d778a02..046cb80918 100644
--- a/engines/made/made.cpp
+++ b/engines/made/made.cpp
@@ -67,15 +67,6 @@ MadeEngine::MadeEngine(OSystem *syst, const MadeGameDescription *gameDesc) : Eng
_musicBeatStart = 0;
_cdTimeStart = 0;
- _gameId = -1;
-
- const char *gameid = ConfMan.get("gameid").c_str();
- for (g = madeSettings; g->gameid; ++g)
- if (!scumm_stricmp(g->gameid, gameid))
- _gameId = g->id;
-
- assert(_gameId != -1);
-
_rnd = new Common::RandomSource("made");
_console = new MadeConsole(this);
diff --git a/engines/made/made.h b/engines/made/made.h
index da251c6242..bd9b96be51 100644
--- a/engines/made/made.h
+++ b/engines/made/made.h
@@ -69,8 +69,6 @@ class MusicPlayer;
class MadeConsole;
class MadeEngine : public ::Engine {
- int _gameId;
-
protected:
// Engine APIs
@@ -85,10 +83,6 @@ public:
virtual GUI::Debugger *getDebugger();
- int getGameId() {
- return _gameId;
- }
-
Common::RandomSource *_rnd;
const MadeGameDescription *_gameDescription;
uint32 getGameID() const;