aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2018-05-02 21:54:24 -0400
committerPaul Gilbert2018-05-02 21:54:24 -0400
commitdb1c506ee53e2fe1c89022bb23317b67d92e4e04 (patch)
treec3670f3db5b359da70530e206e2b0cb59082b97d /engines/titanic
parent9e0d2897a850ebde59428d38b190c96514d76153 (diff)
downloadscummvm-rg350-db1c506ee53e2fe1c89022bb23317b67d92e4e04.tar.gz
scummvm-rg350-db1c506ee53e2fe1c89022bb23317b67d92e4e04.tar.bz2
scummvm-rg350-db1c506ee53e2fe1c89022bb23317b67d92e4e04.zip
TITANIC: Hopefully fix Release mode crash when selecting floors manually
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/true_talk/tt_parser.cpp2
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 5c48de4182..75fd01e506 100644
--- a/engines/titanic/true_talk/tt_parser.cpp
+++ b/engines/titanic/true_talk/tt_parser.cpp
@@ -960,7 +960,7 @@ int TTparser::considerRequests(TTword *word) {
case WC_ABSTRACT:
if (word->_id != 300) {
status = processModifiers(3, word);
- } else if (!_conceptP->findByWordClass(WC_THING)) {
+ } else if (!_conceptP || !_conceptP->findByWordClass(WC_THING)) {
status = processModifiers(3, word);
} else {
word->_id = atoi(word->_text.c_str());