diff options
author | Benjamin Haisch | 2008-12-15 09:01:43 +0000 |
---|---|---|
committer | Benjamin Haisch | 2008-12-15 09:01:43 +0000 |
commit | 2ce4a32fb61567522e0a7afb76337aca12357dcb (patch) | |
tree | 40ab7795411cd63f20b9ad6ec6a05a9f555f2e89 /engines/made/script.cpp | |
parent | c76f0bdb10344f1a35e43a098a3dcec4f09aa76c (diff) | |
download | scummvm-rg350-2ce4a32fb61567522e0a7afb76337aca12357dcb.tar.gz scummvm-rg350-2ce4a32fb61567522e0a7afb76337aca12357dcb.tar.bz2 scummvm-rg350-2ce4a32fb61567522e0a7afb76337aca12357dcb.zip |
- Implemented cmd_restart (for the restart functionality in Return to Zork)
svn-id: r35378
Diffstat (limited to 'engines/made/script.cpp')
-rw-r--r-- | engines/made/script.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/made/script.cpp b/engines/made/script.cpp index bcaf28d45b..e4fd82b90f 100644 --- a/engines/made/script.cpp +++ b/engines/made/script.cpp @@ -554,8 +554,10 @@ void ScriptInterpreter::cmd_vectorp() { } void ScriptInterpreter::cmd_restart() { - // TODO: Used in RTZ - warning("Unimplemented command: cmd_restart"); + _vm->_dat->reload(); + _vm->_screen->clearChannels(); + _vm->resetAllTimers(); + _stack.setTop(0); } void ScriptInterpreter::cmd_rand() { |