Difference for server/spell_effect.c from version 1.110 to 1.111


version 1.110 version 1.111
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.110 2003/11/17 00:13:55 mwedel Exp $";   *   "$Id: spell_effect.c,v 1.111 2003/11/29 02:17:27 mwedel Exp $";
  */   */
   
   
Line 2020
 
Line 2020
  if (QUERY_FLAG(spell, FLAG_KNOWN_MAGICAL) &&    if (QUERY_FLAG(spell, FLAG_KNOWN_MAGICAL) &&
      is_magical(tmp) && !QUERY_FLAG(tmp,FLAG_KNOWN_MAGICAL)) {       is_magical(tmp) && !QUERY_FLAG(tmp,FLAG_KNOWN_MAGICAL)) {
  SET_FLAG(tmp,FLAG_KNOWN_MAGICAL);   SET_FLAG(tmp,FLAG_KNOWN_MAGICAL);
    if (op->type==PLAYER)
  esrv_send_item (op, tmp);   esrv_send_item (op, tmp);
  }   }
  if (QUERY_FLAG(spell, FLAG_KNOWN_CURSED) && !QUERY_FLAG(tmp, FLAG_KNOWN_CURSED) &&   if (QUERY_FLAG(spell, FLAG_KNOWN_CURSED) && !QUERY_FLAG(tmp, FLAG_KNOWN_CURSED) &&
      (QUERY_FLAG(tmp, FLAG_CURSED) || QUERY_FLAG(tmp, FLAG_DAMNED))) {       (QUERY_FLAG(tmp, FLAG_CURSED) || QUERY_FLAG(tmp, FLAG_DAMNED))) {
  SET_FLAG(tmp, FLAG_KNOWN_CURSED);   SET_FLAG(tmp, FLAG_KNOWN_CURSED);
    if (op->type==PLAYER)
  esrv_send_item (op, tmp);   esrv_send_item (op, tmp);
  }   }
      } /* if item is not identified */       } /* if item is not identified */


Legend:
line(s) removed in v.1.110 
line(s) changed
 line(s) added in v.1.111

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