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.99 by root, Wed May 12 22:09:32 2010 UTC vs.
Revision 1.100 by root, Mon May 17 21:14:10 2010 UTC

888 888
889 if (!op->apply (pl->combat_ob)) 889 if (!op->apply (pl->combat_ob))
890 return 0; 890 return 0;
891 891
892 if (!op->chosen_skill) 892 if (!op->chosen_skill)
893 {
893 LOG (llevError, "do_skill_attack: weapon has no skill (%s)", pl->combat_ob->debug_desc ()); 894 LOG (llevError, "do_skill_attack: weapon has no skill (%s)", pl->combat_ob->debug_desc ());
895 new_draw_info (NDI_RED | NDI_REPLY, 0, op, "You hit a bug in the server, please contact an admin!");
896 return 0;
897 }
894 } 898 }
895 899
896 /* lose invisiblity/hiding status for running attacks */ 900 /* lose invisiblity/hiding status for running attacks */
897 if (pl->tmp_invis) 901 if (pl->tmp_invis)
898 { 902 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines