… | |
… | |
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, " |