--- deliantra/server/include/object.h 2007/02/07 23:50:01 1.98 +++ deliantra/server/include/object.h 2007/02/10 01:52:27 1.99 @@ -231,7 +231,7 @@ object *inv; /* Pointer to the first object in the inventory */ //TODO: container must move into client - object *ACC (RW, container); /* Current container being used. I think this + object_ptr ACC (RW, container); /* Current container being used. I think this * is only used by the player right now. */ object *ACC (RW, env); /* Pointer to the object which is the environment. @@ -271,6 +271,12 @@ MTH void set_owner (object *owner); MTH void set_speed (float speed); + MTH void open_container (object *new_container); + MTH void close_container () + { + open_container (0); + } + MTH void instantiate () { if (!uuid.seq) // HACK