--- deliantra/server/include/object.h 2008/09/29 10:35:36 1.185 +++ deliantra/server/include/object.h 2008/10/06 18:26:35 1.186 @@ -524,6 +524,11 @@ return !env && !flag [FLAG_REMOVED]; } + MTH bool is_in_map_or_inv () const + { + return !flag [FLAG_REMOVED]; + } + // returns the player that cna see this object, if any MTH object *visible_to () const;