--- deliantra/server/include/object.h 2006/12/26 08:54:59 1.70 +++ deliantra/server/include/object.h 2006/12/26 20:04:09 1.71 @@ -320,6 +320,16 @@ return 0; } + // "temporary" helper function + MTH object *head_ () + { + return head ? head : this; + } + + // insert object at same map position as 'where' + // handles both inventory and map "positions" + MTH object *insert_at (object *where, object *originator = 0, int flags = 0); + // returns the mapspace this object is in mapspace &ms () const;