--- deliantra/server/include/object.h 2008/09/20 00:09:27 1.182 +++ deliantra/server/include/object.h 2008/09/29 06:32:08 1.183 @@ -443,6 +443,7 @@ / dominant_material ()->density; } + MTH bool is_wiz () const { return flag [FLAG_WIZ]; } MTH bool is_weapon () const { return type == ARROW || type == BOW || type == WEAPON; } MTH bool is_armor () const { return type == ARMOUR || type == SHIELD || type == HELMET || type == CLOAK || type == BOOTS || type == GLOVES