--- deliantra/server/include/object.h 2008/05/05 15:54:39 1.176 +++ deliantra/server/include/object.h 2008/05/17 00:17:02 1.177 @@ -695,6 +695,13 @@ static void postpone_arch_ref (arch_ptr &ref, const_utf8_string other_arch); /* postpone other_arch reference */ }; +// compatbiility, remove once replaced by ->instance +inline object * +arch_to_object (archetype *at) +{ + return at->instance (); +} + inline void object_freezer::put (keyword k, archetype *v) {