diff options
author | Paul Gilbert | 2016-05-11 13:33:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:39:15 -0400 |
commit | a27d49a43ccc699751b049e0631209c214ef71de (patch) | |
tree | d34bc4f2db406e04e16737a8977a980919f79574 /engines/titanic | |
parent | 17de345191ab9fde2ed1469c5e325347313decdf (diff) | |
download | scummvm-rg350-a27d49a43ccc699751b049e0631209c214ef71de.tar.gz scummvm-rg350-a27d49a43ccc699751b049e0631209c214ef71de.tar.bz2 scummvm-rg350-a27d49a43ccc699751b049e0631209c214ef71de.zip |
TITANIC: Fix finding existing words in STVocab findWord
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/true_talk/st_vocab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/st_vocab.cpp b/engines/titanic/true_talk/st_vocab.cpp index a4f5cd851d..138af06854 100644 --- a/engines/titanic/true_talk/st_vocab.cpp +++ b/engines/titanic/true_talk/st_vocab.cpp @@ -148,9 +148,9 @@ TTword *STVocab::findWord(const TTString &str) { while (word && !flag) { if (_field18 != 3 || strcmp(word->c_str(), str)) { if (word->scanCopy(str, tempNode, _field18)) - word = word->_pNext; - else flag = true; + else + word = word->_pNext; } else { flag = true; } |