diff options
author | Paul Gilbert | 2017-07-30 14:58:01 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-07-30 14:58:01 -0400 |
commit | 0bc4248e34ada20b68db2dab69ca02e3afccd807 (patch) | |
tree | 4279679b083ad8e647e7708f652152b5dc5f1ed3 /engines/titanic/true_talk | |
parent | 07aaed5659e352db1ddece44e715a854159d58ec (diff) | |
download | scummvm-rg350-0bc4248e34ada20b68db2dab69ca02e3afccd807.tar.gz scummvm-rg350-0bc4248e34ada20b68db2dab69ca02e3afccd807.tar.bz2 scummvm-rg350-0bc4248e34ada20b68db2dab69ca02e3afccd807.zip |
TITANIC: Fix crash saying 'No I dont' to Deskbot
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp index adf008767f..4ed970533a 100644 --- a/engines/titanic/true_talk/tt_parser.cpp +++ b/engines/titanic/true_talk/tt_parser.cpp @@ -1403,7 +1403,7 @@ int TTparser::checkForAction() { // Chain of words, so we need to find the last word of the chain, // and set the last-but-one's _nextP to nullptr to detach the last one TTword *prior = nullptr; - for (word = word->_nextP; word->_nextP; word = word->_nextP) { + for (; word->_nextP; word = word->_nextP) { prior = word; } |