mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
MADE: Remove leftover code. This lets run gracefully with -p parameter
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user