--- deliantra/server/include/object.h 2009/11/11 23:27:57 1.221 +++ deliantra/server/include/object.h 2009/11/29 17:41:07 1.223 @@ -520,7 +520,7 @@ && (subtype == SP_BULLET || subtype == SP_MAGIC_MISSILE)); } MTH bool is_range () const { return type == BOW || type == ROD || type == WAND || type == HORN; } - MTH bool has_active_speed () const { return fabs (speed) >= MIN_ACTIVE_SPEED; } + MTH bool has_active_speed () const { return speed >= MIN_ACTIVE_SPEED; } // temporary: wether the object can be saved in a map file // contr => is a player @@ -817,13 +817,6 @@ 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 (const keyword_string k, archetype *v) {