… | |
… | |
393 | void |
393 | void |
394 | explode_bullet (object *op) |
394 | explode_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 |