--- deliantra/server/include/object.h 2008/06/15 19:34:31 1.178 +++ deliantra/server/include/object.h 2008/07/14 23:57:46 1.179 @@ -469,6 +469,8 @@ */ MTH bool has_random_items () const { return randomitems && !flag [FLAG_IS_A_TEMPLATE]; } + MTH bool has_dialogue () const { return *&msg == '@'; } + // returns the outermost owner, never returns 0 MTH object *outer_owner () {