aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/messages.cpp b/engines/mads/messages.cpp
index 263d8fa661..e85a582cda 100644
--- a/engines/mads/messages.cpp
+++ b/engines/mads/messages.cpp
@@ -173,7 +173,7 @@ void KernelMessages::processText(int msgIndex) {
if ((msg._flags & KMSG_EXPIRE) != 0) {
scene._textDisplay.expire(msg._textDisplayIndex);
- msg._flags &= !KMSG_ACTIVE;
+ msg._flags &= ~KMSG_ACTIVE;
return;
}