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.43 by root, Sat May 12 13:27:38 2007 UTC vs.
Revision 1.44 by root, Sat May 12 16:06:42 2007 UTC

932 LOG (llevError, "Could not find anything to attack on %s\n", &op->name); 932 LOG (llevError, "Could not find anything to attack on %s\n", &op->name);
933 return 0; 933 return 0;
934 } 934 }
935 } 935 }
936 936
937 op->set_weapon (pl->combat_ob); 937 if (!op->change_weapon (pl->combat_ob))
938 return 0;
938 939
939 /* lose invisiblity/hiding status for running attacks */ 940 /* lose invisiblity/hiding status for running attacks */
940 if (pl->tmp_invis) 941 if (pl->tmp_invis)
941 { 942 {
942 pl->tmp_invis = 0; 943 pl->tmp_invis = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines