aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/msn_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova/msn_def.h')
-rw-r--r--engines/supernova/msn_def.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/supernova/msn_def.h b/engines/supernova/msn_def.h
index 3f1c69bce5..6ce16b8283 100644
--- a/engines/supernova/msn_def.h
+++ b/engines/supernova/msn_def.h
@@ -304,8 +304,6 @@ ObjectType &operator&=(ObjectType &a, ObjectType b);
ObjectType &operator^=(ObjectType &a, ObjectType b);
struct Object {
- static const Object nullObject;
-
Object()
: _name(kNoString)
, _description(kStringDefaultDescription)
@@ -332,12 +330,6 @@ struct Object {
, _direction(direction)
{}
- static void setObjectNull(Object *&obj) {
- obj = const_cast<Object *>(&nullObject);
- }
- static bool isNullObject(Object *obj) {
- return obj == &nullObject;
- }
void resetProperty(ObjectType type = NULLTYPE) {
_type = type;
}