--- deliantra/server/include/object.h 2008/09/29 06:32:08 1.183 +++ deliantra/server/include/object.h 2008/09/29 10:31:32 1.184 @@ -347,6 +347,11 @@ void do_destroy (); void gather_callbacks (AV *&callbacks, event_type event) const; MTH void destroy (bool destroy_inventory = false); + MTH void drop_and_destroy () + { + destroy_inv (true); + destroy (); + } // recursively destroy all objects in inventory, optionally dropping them to the ground instead MTH void destroy_inv (bool drop_to_ground = false);