Difference for server/spell_effect.c from version 1.40 to 1.41


version 1.40 version 1.41
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.40 2001/01/26 00:59:09 avogl Exp $";   *   "$Id: spell_effect.c,v 1.41 2001/01/30 05:06:00 peterm Exp $";
  */   */
   
   
Line 2476
 
Line 2476
  * so that we don't kill monsters with this (some monsters attacktype   * so that we don't kill monsters with this (some monsters attacktype
  * has magic in it).   * has magic in it).
          */           */
          /* don't attack our own spells */
          if(tmp->owner && tmp->owner == op->owner) continue;
   
  if(tmp->material==0 && tmp->attacktype&AT_MAGIC &&   if(tmp->material==0 && tmp->attacktype&AT_MAGIC &&
     !(tmp->attacktype&AT_COUNTERSPELL) &&       !(tmp->attacktype&AT_COUNTERSPELL) &&
     !QUERY_FLAG(tmp,FLAG_MONSTER))      !QUERY_FLAG(tmp,FLAG_MONSTER))


Legend:
line(s) removed in v.1.40 
line(s) changed
 line(s) added in v.1.41

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