aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/script_handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/script_handler.cpp')
-rw-r--r--engines/titanic/true_talk/script_handler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/script_handler.cpp b/engines/titanic/true_talk/script_handler.cpp
index 67ce8be61f..d19c08aa0e 100644
--- a/engines/titanic/true_talk/script_handler.cpp
+++ b/engines/titanic/true_talk/script_handler.cpp
@@ -28,12 +28,12 @@ namespace Titanic {
/*------------------------------------------------------------------------*/
CScriptHandler::CScriptHandler(CTitleEngine *owner, int val1, int val2) :
- _owner(owner), _script(owner->_script), _reader(g_vm->_fileReader),
+ _owner(owner), _script(owner->_script), _resources(g_vm->_exeResources),
_sub1(), _sub2(this), _field10(0), _inputCtr(0),
_field20(0), _field24(0), _field28(0), _field2C(0), _field30(0) {
g_vm->_scriptHandler = this;
g_vm->_script = _script;
- g_vm->_fileReader.reset(this, val1, val2);
+ g_vm->_exeResources.reset(this, val1, val2);
_vocab = new STVocab(val2);
}