[Scummvm-git-logs] scummvm master -> 0bc4248e34ada20b68db2dab69ca02e3afccd807

dreammaster dreammaster at scummvm.org
Sun Jul 30 20:58:12 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0bc4248e34 TITANIC: Fix crash saying 'No I dont' to Deskbot


Commit: 0bc4248e34ada20b68db2dab69ca02e3afccd807
    https://github.com/scummvm/scummvm/commit/0bc4248e34ada20b68db2dab69ca02e3afccd807
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-07-30T14:58:01-04:00

Commit Message:
TITANIC: Fix crash saying 'No I dont' to Deskbot

Changed paths:
    engines/titanic/true_talk/tt_parser.cpp


diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp
index adf0087..4ed9705 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;
 			}
 





More information about the Scummvm-git-logs mailing list