diff options
author | Matthew Hoops | 2011-03-22 20:04:46 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-03-22 20:04:46 -0400 |
commit | 4d6c020cf4c3f6c5acc5d025bbf9d5b4e879e129 (patch) | |
tree | 86fcb2e43ceacfbb74daf0c7e0d2f45d0281350f /engines/mohawk | |
parent | a730d30f0cf4ae0752635d2ab0b515c17ebf64b1 (diff) | |
download | scummvm-rg350-4d6c020cf4c3f6c5acc5d025bbf9d5b4e879e129.tar.gz scummvm-rg350-4d6c020cf4c3f6c5acc5d025bbf9d5b4e879e129.tar.bz2 scummvm-rg350-4d6c020cf4c3f6c5acc5d025bbf9d5b4e879e129.zip |
MOHAWK: Remove the Riven 'restart' console command
This ancient console function has no purpose any longer and is half-broken anyway.
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/console.cpp | 9 | ||||
-rw-r--r-- | engines/mohawk/console.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp index 64e403092a..6f2a92e2ce 100644 --- a/engines/mohawk/console.cpp +++ b/engines/mohawk/console.cpp @@ -316,7 +316,6 @@ RivenConsole::RivenConsole(MohawkEngine_Riven *vm) : GUI::Debugger(), _vm(vm) { DCmd_Register("stopSound", WRAP_METHOD(RivenConsole, Cmd_StopSound)); DCmd_Register("curStack", WRAP_METHOD(RivenConsole, Cmd_CurStack)); DCmd_Register("changeStack", WRAP_METHOD(RivenConsole, Cmd_ChangeStack)); - DCmd_Register("restart", WRAP_METHOD(RivenConsole, Cmd_Restart)); DCmd_Register("hotspots", WRAP_METHOD(RivenConsole, Cmd_Hotspots)); DCmd_Register("zipMode", WRAP_METHOD(RivenConsole, Cmd_ZipMode)); DCmd_Register("dumpScript", WRAP_METHOD(RivenConsole, Cmd_DumpScript)); @@ -446,14 +445,6 @@ bool RivenConsole::Cmd_ChangeStack(int argc, const char **argv) { return false; } -bool RivenConsole::Cmd_Restart(int argc, const char **argv) { - _vm->initVars(); - _vm->changeToStack(aspit); - _vm->changeToCard(1); - - return false; -} - bool RivenConsole::Cmd_Hotspots(int argc, const char **argv) { DebugPrintf("Current card (%d) has %d hotspots:\n", _vm->getCurCard(), _vm->getHotspotCount()); diff --git a/engines/mohawk/console.h b/engines/mohawk/console.h index 1dfd0bd318..b7b6b2567e 100644 --- a/engines/mohawk/console.h +++ b/engines/mohawk/console.h @@ -75,7 +75,6 @@ private: bool Cmd_StopSound(int argc, const char **argv); bool Cmd_CurStack(int argc, const char **argv); bool Cmd_ChangeStack(int argc, const char **argv); - bool Cmd_Restart(int argc, const char **argv); bool Cmd_Hotspots(int argc, const char **argv); bool Cmd_ZipMode(int argc, const char **argv); bool Cmd_RunAllBlocks(int argc, const char **argv); |