aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-17 18:23:56 -0500
committerPaul Gilbert2016-12-17 18:23:56 -0500
commit7e9ae90abd094fc836e7d9c9497eaa6ec138b7b0 (patch)
tree994cadff07181f1a344dfa12a8f4ce5e58bf97b0 /engines/titanic
parent01c4267270612bd24e0307c496871abcfdffe467 (diff)
downloadscummvm-rg350-7e9ae90abd094fc836e7d9c9497eaa6ec138b7b0.tar.gz
scummvm-rg350-7e9ae90abd094fc836e7d9c9497eaa6ec138b7b0.tar.bz2
scummvm-rg350-7e9ae90abd094fc836e7d9c9497eaa6ec138b7b0.zip
TITANIC: Fix initialization of new TTsentence objects
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/true_talk/tt_sentence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_sentence.cpp b/engines/titanic/true_talk/tt_sentence.cpp
index 8d897aaa38..5a5bff7af8 100644
--- a/engines/titanic/true_talk/tt_sentence.cpp
+++ b/engines/titanic/true_talk/tt_sentence.cpp
@@ -43,7 +43,7 @@ TTsentence::TTsentence(int inputCtr, const TTstring &line, CScriptHandler *owner
TTroomScript *roomScript, TTnpcScript *npcScript) :
_owner(owner), _category(1), _inputCtr(inputCtr), _field34(0),
_field38(0), _initialLine(line), _nodesP(nullptr), _roomScript(roomScript),
- _npcScript(npcScript), _field58(0), _field5C(0) {
+ _npcScript(npcScript), _field58(5), _field5C(5) {
_status = _initialLine.isValid() && _normalizedLine.isValid() ? SS_11: SS_VALID;
}