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

Comparing deliantra/server/server/skill_util.C (file contents):
Revision 1.84 by root, Fri Apr 2 03:41:25 2010 UTC vs.
Revision 1.85 by root, Sat Apr 3 03:35:33 2010 UTC

879 879
880 if (!skill) 880 if (!skill)
881 new_draw_info (NDI_BLACK, 0, op, "You have no unarmed combat skills!"); 881 new_draw_info (NDI_BLACK, 0, op, "You have no unarmed combat skills!");
882 } 882 }
883 883
884 if (skill) 884 op->apply (skill);
885 {
886 op->change_skill (0);
887 apply_special (op, skill, AP_APPLY);
888 }
889 } 885 }
890 886
891 if (!pl->combat_ob) 887 if (!pl->combat_ob)
892 { 888 {
893 LOG (llevError, "Could not find anything to attack on %s\n", &op->name); 889 LOG (llevError, "Could not find anything to attack on %s\n", &op->name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines