aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2010-12-12 11:43:23 +0000
committerNicola Mettifogo2010-12-12 11:43:23 +0000
commitd19d9991b24c0277cb8fe8a0049a4d70ce92ce76 (patch)
treed643e6ec799d69e7058604565fe981fc5ea22748 /engines/parallaction/parallaction.cpp
parent2bbe59ad8d39f4c526eff6f468dbc4de9853d2f6 (diff)
downloadscummvm-rg350-d19d9991b24c0277cb8fe8a0049a4d70ce92ce76.tar.gz
scummvm-rg350-d19d9991b24c0277cb8fe8a0049a4d70ce92ce76.tar.bz2
scummvm-rg350-d19d9991b24c0277cb8fe8a0049a4d70ce92ce76.zip
PARALLACTION: do not skip commands on Examine zones if there is no text to show. This fixes bug #3135782.
svn-id: r54882
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r--engines/parallaction/parallaction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index 1c0ab9defd..a50c8043f5 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -520,6 +520,7 @@ void Parallaction::enterCommentMode(ZonePtr z) {
TypeData *data = &_commentZone->u;
if (data->_examineText.empty()) {
+ exitCommentMode();
return;
}