diff options
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_parser.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp index ca72b94c09..2ef93d7165 100644 --- a/engines/titanic/true_talk/tt_parser.cpp +++ b/engines/titanic/true_talk/tt_parser.cpp @@ -1143,9 +1143,8 @@ int TTparser::considerRequests(TTword *word) { _sentenceConcept->get18()); status = _sentenceConcept->createConcept(1, 1, verbP); delete verbP; + flag = true; } - - flag = true; } break; @@ -1276,8 +1275,11 @@ int TTparser::considerRequests(TTword *word) { } TTparserNode *nextP = dynamic_cast<TTparserNode *>(nodeP->_nextP); - if (flag) + if (flag) { removeNode(nodeP); + flag = false; + } + nodeP = nextP; } |