aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/supernova/msn_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/supernova/msn_def.h b/engines/supernova/msn_def.h
index 08bcfe000a..02a38d54a6 100644
--- a/engines/supernova/msn_def.h
+++ b/engines/supernova/msn_def.h
@@ -483,6 +483,10 @@ struct Object {
static bool isNullObject(Object *obj) {
return obj == &nullObject;
}
+ void resetProperty(ObjectType type = NULLTYPE) {
+ _type = type;
+ }
+
void setProperty(ObjectType type) {
_type |= type;
}