MADE: Remove leftover code. This lets run gracefully with -p parameter

This commit is contained in:
Eugene Sandulenko
2019-06-10 12:55:08 +02:00
parent 4a0e2e528b
commit 9ba6b79e1a
2 changed files with 0 additions and 15 deletions
-9
View File
@@ -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);
-6
View File
@@ -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;