diff options
Diffstat (limited to 'engines/supernova/msn_def.h')
-rw-r--r-- | engines/supernova/msn_def.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/supernova/msn_def.h b/engines/supernova/msn_def.h index cf85efce0c..3b2bd494cb 100644 --- a/engines/supernova/msn_def.h +++ b/engines/supernova/msn_def.h @@ -382,7 +382,8 @@ enum RoomID { }; enum ObjectID { - NULLOBJECT, + INVALIDOBJECT = -1, + NULLOBJECT = 0, KEYCARD,KNIFE,WATCH, SOCKET, BUTTON,HATCH1, @@ -463,7 +464,7 @@ struct Object { Object() : _name("") , _description(Object::defaultDescription) - , _id(NULLOBJECT) + , _id(INVALIDOBJECT) , _type(NULLTYPE) , _click(0) , _click2(0) |