Difference for server/spell_effect.c from version 1.129 to 1.130


version 1.129 version 1.130
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.129 2005/07/19 20:59:34 ryo_saeba Exp $";   *   "$Id: spell_effect.c,v 1.130 2005/07/26 00:23:00 akirschbaum Exp $";
  */   */
   
   
Line 2059
 
Line 2059
     if (QUERY_FLAG(spell, FLAG_KNOWN_CURSED) || QUERY_FLAG(spell, FLAG_KNOWN_MAGICAL)) {      if (QUERY_FLAG(spell, FLAG_KNOWN_CURSED) || QUERY_FLAG(spell, FLAG_KNOWN_MAGICAL)) {
  done_one = 0;   done_one = 0;
  for (tmp = op->inv; tmp; tmp = tmp->below) {   for (tmp = op->inv; tmp; tmp = tmp->below) {
      if (!QUERY_FLAG(tmp, FLAG_IDENTIFIED)) {       if (!tmp->invisible && !QUERY_FLAG(tmp, FLAG_IDENTIFIED)) {
  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);


Legend:
line(s) removed in v.1.129 
line(s) changed
 line(s) added in v.1.130

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