--- deliantra/server/common/living.C 2006/12/04 17:48:35 1.13 +++ deliantra/server/common/living.C 2006/12/11 12:49:03 1.14 @@ -993,18 +993,20 @@ * list, but other items store other info into stats array. */ if ((tmp->type == EXPERIENCE) || (tmp->type == WEAPON) || - (tmp->type == ARMOUR) || (tmp->type == HELMET) || - (tmp->type == SHIELD) || (tmp->type == RING) || - (tmp->type == BOOTS) || (tmp->type == GLOVES) || - (tmp->type == AMULET) || (tmp->type == GIRDLE) || - (tmp->type == BRACERS) || (tmp->type == CLOAK) || (tmp->type == DISEASE) || (tmp->type == FORCE) || (tmp->type == SKILL)) + (tmp->type == ARMOUR) || (tmp->type == HELMET) || + (tmp->type == SHIELD) || (tmp->type == RING) || + (tmp->type == BOOTS) || (tmp->type == GLOVES) || + (tmp->type == AMULET) || (tmp->type == GIRDLE) || + (tmp->type == BRACERS) || (tmp->type == CLOAK) || + (tmp->type == DISEASE) || (tmp->type == FORCE) || + (tmp->type == SKILL)) { - op->contr->digestion += tmp->stats.food; - op->contr->gen_hp += tmp->stats.hp; - op->contr->gen_sp += tmp->stats.sp; - op->contr->gen_grace += tmp->stats.grace; + op->contr->digestion += tmp->stats.food; + op->contr->gen_hp += tmp->stats.hp; + op->contr->gen_sp += tmp->stats.sp; + op->contr->gen_grace += tmp->stats.grace; op->contr->gen_sp_armour += tmp->gen_sp_armour; - op->contr->item_power += tmp->item_power; + op->contr->item_power += tmp->item_power; } } /* if this is a player */