aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/parallaction/dialogue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp
index de4ef28f8c..5fd0798b01 100644
--- a/engines/parallaction/dialogue.cpp
+++ b/engines/parallaction/dialogue.cpp
@@ -166,7 +166,7 @@ bool DialogueManager::displayAnswer(uint16 i) {
assert(id >= 0);
_visAnswers[id] = i;
- _askPassword = strstr(a->_text, "%p");
+ _askPassword = (strstr(a->_text, "%p") != NULL);
_numVisAnswers++;
return true;