aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/messages/messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/messages/messages.h')
-rw-r--r--engines/titanic/messages/messages.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/messages/messages.h b/engines/titanic/messages/messages.h
index 1908b7351c..80ce590b87 100644
--- a/engines/titanic/messages/messages.h
+++ b/engines/titanic/messages/messages.h
@@ -42,7 +42,8 @@ public:
CLASSDEF
CMessage();
- bool execute(CTreeItem *target, const ClassDef *classDef, int flags);
+ bool execute(CTreeItem *target, const ClassDef *classDef = nullptr,
+ int flags = MSGFLAG_SCAN | MSGFLAG_BREAK_IF_HANDLED);
virtual bool perform(CTreeItem *treeItem) { return false; }