ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/skills.C
(Generate patch)

Comparing deliantra/server/server/skills.C (file contents):
Revision 1.92 by root, Wed Apr 21 05:48:35 2010 UTC vs.
Revision 1.93 by root, Wed Apr 21 05:49:09 2010 UTC

648 success += calc_skill_exp (pl, tmp, skill); 648 success += calc_skill_exp (pl, tmp, skill);
649 } 649 }
650 650
651 /* Check ground, too, but like above, only if the object can be picked up */ 651 /* Check ground, too, but like above, only if the object can be picked up */
652 for (object *tmp = GET_MAP_OB (pl->map, pl->x, pl->y); tmp; tmp = tmp->above) 652 for (object *tmp = GET_MAP_OB (pl->map, pl->x, pl->y); tmp; tmp = tmp->above)
653 if (can_pick (pl, tmp) && 653 if (can_pick (pl, tmp)
654 && tmp->need_identify () 654 && tmp->need_identify ()
655 && !tmp->flag [FLAG_IDENTIFIED] && !tmp->flag [FLAG_KNOWN_MAGICAL] 655 && !tmp->flag [FLAG_IDENTIFIED] && !tmp->flag [FLAG_KNOWN_MAGICAL]
656 && is_magical (tmp) 656 && is_magical (tmp)
657 && tmp->item_power < skill->level) 657 && tmp->item_power < skill->level)
658 { 658 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines