Difference for server/spell_attack.c from version 1.10 to 1.11


version 1.10 version 1.11
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_attack_c =   * static char *rcsid_spell_attack_c =
  *   "$Id: spell_attack.c,v 1.10 2004/04/04 16:37:02 temitchell Exp $";   *   "$Id: spell_attack.c,v 1.11 2004/05/04 07:14:53 mwedel Exp $";
  */   */
   
   
Line 363
 
Line 363
 void explode_bullet(object *op)  void explode_bullet(object *op)
 {  {
     tag_t op_tag = op->count;      tag_t op_tag = op->count;
     object *tmp;      object *tmp, *owner;
   
     if (op->other_arch == NULL) {      if (op->other_arch == NULL) {
  LOG (llevError, "BUG: explode_bullet(): op without other_arch\n");   LOG (llevError, "BUG: explode_bullet(): op without other_arch\n");
Line 405
 
Line 405
     if (tmp->skill) FREE_AND_CLEAR_STR(tmp->skill);      if (tmp->skill) FREE_AND_CLEAR_STR(tmp->skill);
     if (op->skill) tmp->skill = add_refcount(op->skill);      if (op->skill) tmp->skill = add_refcount(op->skill);
   
       owner = get_owner(op);
     if ((tmp->attacktype & AT_HOLYWORD || tmp->attacktype & AT_GODPOWER) &&      if ((tmp->attacktype & AT_HOLYWORD || tmp->attacktype & AT_GODPOWER) && owner &&
       !tailor_god_spell(tmp, op)) {        !tailor_god_spell(tmp, owner)) {
  remove_ob (op);   remove_ob (op);
  free_object (op);   free_object (op);
  return;   return;


Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:47