diff options
Diffstat (limited to 'engines/illusions/bbdou/scriptopcodes_bbdou.cpp')
-rw-r--r-- | engines/illusions/bbdou/scriptopcodes_bbdou.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/illusions/bbdou/scriptopcodes_bbdou.cpp b/engines/illusions/bbdou/scriptopcodes_bbdou.cpp index 1c8d4009dd..e70be8fdb9 100644 --- a/engines/illusions/bbdou/scriptopcodes_bbdou.cpp +++ b/engines/illusions/bbdou/scriptopcodes_bbdou.cpp @@ -138,7 +138,7 @@ void ScriptOpcodes_BBDOU::initOpcodes() { OPCODE(80, opAddMenuChoice); OPCODE(81, opDisplayMenu); OPCODE(82, opSwitchMenuChoice); - // TODO OPCODE(83, opQuitGame); + OPCODE(83, opQuitGame); OPCODE(84, opResetGame); // TODO OPCODE(85, opSaveGame); // TODO OPCODE(86, opRestoreGame); @@ -728,6 +728,10 @@ void ScriptOpcodes_BBDOU::opSwitchMenuChoice(ScriptThread *scriptThread, OpCall opCall._deltaOfs += _vm->_menuChoiceOfs; } +void ScriptOpcodes_BBDOU::opQuitGame(ScriptThread *scriptThread, OpCall &opCall) { + _vm->quitGame(); +} + void ScriptOpcodes_BBDOU::opResetGame(ScriptThread *scriptThread, OpCall &opCall) { _vm->_threads->terminateThreads(opCall._callerThreadId); _vm->reset(); |