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

Comparing deliantra/server/server/spell_attack.C (file contents):
Revision 1.61 by root, Sun May 18 19:53:07 2008 UTC vs.
Revision 1.63 by root, Sun Sep 7 09:22:47 2008 UTC

393void 393void
394explode_bullet (object *op) 394explode_bullet (object *op)
395{ 395{
396 object *tmp, *owner; 396 object *tmp, *owner;
397 397
398 if (op->other_arch == NULL) 398 if (!op->other_arch)
399 { 399 {
400 LOG (llevError, "BUG: explode_bullet(): op without other_arch\n"); 400 LOG (llevError, "BUG: explode_bullet(): op without other_arch\n");
401 op->destroy (); 401 op->destroy ();
402 return; 402 return;
403 } 403 }
743 check_spell_knockback (op); 743 check_spell_knockback (op);
744 744
745 if (op->destroyed ()) 745 if (op->destroyed ())
746 return; 746 return;
747 747
748 if ((op->duration--) < 0) 748 if (op->duration-- < 0)
749 { 749 {
750 op->destroy (); 750 op->destroy ();
751 return; 751 return;
752 } 752 }
753 /* Object has hit maximum range, so don't have it move 753 /* Object has hit maximum range, so don't have it move

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines