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

Comparing deliantra/server/common/object.C (file contents):
Revision 1.315 by root, Fri Mar 26 21:43:43 2010 UTC vs.
Revision 1.316 by root, Sun Mar 28 02:53:46 2010 UTC

614 { 614 {
615 // now check wether any body locations became invalid, in which case 615 // now check wether any body locations became invalid, in which case
616 // we cannot apply the weapon at the moment. 616 // we cannot apply the weapon at the moment.
617 for (int i = 0; i < NUM_BODY_LOCATIONS; ++i) 617 for (int i = 0; i < NUM_BODY_LOCATIONS; ++i)
618 if (slot[i].used < 0) 618 if (slot[i].used < 0)
619 { 619 {
620 if (chosen_skill)
621 chosen_skill->flag [FLAG_APPLIED] = false;
622
620 current_weapon = chosen_skill = 0; 623 current_weapon = chosen_skill = 0;
621 update_stats (); 624 update_stats ();
622 625
623 new_draw_info_format (NDI_UNIQUE, 0, this, 626 new_draw_info_format (NDI_UNIQUE, 0, this,
624 "You try to balance all your items at once, " 627 "You try to balance all your items at once, "

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines