diff options
Diffstat (limited to 'engines/titanic/true_talk/script_handler.cpp')
-rw-r--r-- | engines/titanic/true_talk/script_handler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/true_talk/script_handler.cpp b/engines/titanic/true_talk/script_handler.cpp index f716a96130..0572cd4190 100644 --- a/engines/titanic/true_talk/script_handler.cpp +++ b/engines/titanic/true_talk/script_handler.cpp @@ -32,13 +32,13 @@ namespace Titanic { /*------------------------------------------------------------------------*/ -CScriptHandler::CScriptHandler(CTitleEngine *owner, int val1, int val2) : +CScriptHandler::CScriptHandler(CTitleEngine *owner, int val1, VocabMode vocabMode) : _owner(owner), _script(owner->_script), _parser(this), _inputCtr(0), _concept1P(nullptr), _concept2P(nullptr), _concept3P(nullptr), _concept4P(nullptr) { g_vm->_scriptHandler = this; g_vm->_script = _script; - g_vm->_exeResources.reset(this, val1, val2); - _vocab = new TTvocab(val2); + g_vm->_exeResources.reset(this, val1, vocabMode); + _vocab = new TTvocab(vocabMode); } CScriptHandler::~CScriptHandler() { |