diff options
author | Eugene Sandulenko | 2018-03-26 10:27:33 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-26 10:27:33 +0200 |
commit | 8c962f9a04e2b6aaa4a46fbc621fb7d3119267d7 (patch) | |
tree | d5e04af99b4e28ad2021cf264c8b0b984b068959 /engines/plumbers | |
parent | 99729bc15d994fa0b5b6b98a19faa252b7c1415e (diff) | |
download | scummvm-rg350-8c962f9a04e2b6aaa4a46fbc621fb7d3119267d7.tar.gz scummvm-rg350-8c962f9a04e2b6aaa4a46fbc621fb7d3119267d7.tar.bz2 scummvm-rg350-8c962f9a04e2b6aaa4a46fbc621fb7d3119267d7.zip |
PLUMBERS: Remove unused parameter
Diffstat (limited to 'engines/plumbers')
-rw-r--r-- | engines/plumbers/console.cpp | 2 | ||||
-rw-r--r-- | engines/plumbers/console.h | 5 | ||||
-rw-r--r-- | engines/plumbers/plumbers.cpp | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/engines/plumbers/console.cpp b/engines/plumbers/console.cpp index f005b60769..730a74e2e7 100644 --- a/engines/plumbers/console.cpp +++ b/engines/plumbers/console.cpp @@ -27,7 +27,7 @@ namespace Plumbers { -Console::Console(Plumbers::PlumbersGame *vm) : _vm(vm) { +Console::Console() { _allowSkip = false; registerCmd("allowSkip", WRAP_METHOD(Console, Cmd_allowSkip)); } diff --git a/engines/plumbers/console.h b/engines/plumbers/console.h index c849678419..cb50834f36 100644 --- a/engines/plumbers/console.h +++ b/engines/plumbers/console.h @@ -30,13 +30,10 @@ namespace Plumbers { class PlumbersGame; class Console : public GUI::Debugger { -private: - PlumbersGame *_vm; - public: bool _allowSkip; - explicit Console(Plumbers::PlumbersGame *vm); + explicit Console(); virtual ~Console(void) {} bool Cmd_allowSkip(int argc, const char** argv); diff --git a/engines/plumbers/plumbers.cpp b/engines/plumbers/plumbers.cpp index f0445e51eb..9904acb33a 100644 --- a/engines/plumbers/plumbers.cpp +++ b/engines/plumbers/plumbers.cpp @@ -89,7 +89,7 @@ static const byte cursorPalette[] = { Common::Error PlumbersGame::run() { initGraphics(640, 480); - _console = new Console(this); + _console = new Console(); CursorMan.replaceCursor(MOUSECURSOR_SCI, 11, 16, 0, 0, 0); CursorMan.replaceCursorPalette(cursorPalette, 0, 3); |