Difference for server/skills.c from version 1.59 to 1.60


version 1.59 version 1.60
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.59 2005/07/16 21:10:40 akirschbaum Exp $";   *   "$Id: skills.c,v 1.60 2005/07/26 00:23:00 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 524
 
Line 524
     int success=0;      int success=0;
    
     for(tmp=pl->inv;tmp;tmp=tmp->below)      for(tmp=pl->inv;tmp;tmp=tmp->below)
  if (!QUERY_FLAG(tmp,FLAG_IDENTIFIED) && !QUERY_FLAG(tmp,FLAG_KNOWN_CURSED)   if (!tmp->invisible
               && !QUERY_FLAG(tmp,FLAG_IDENTIFIED) && !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)) &&
      tmp->item_power < skill->level) {       tmp->item_power < skill->level) {
  SET_FLAG(tmp,FLAG_KNOWN_CURSED);   SET_FLAG(tmp,FLAG_KNOWN_CURSED);
Line 552
 
Line 553
     int success=0;      int success=0;
   
     for(tmp=pl->inv;tmp;tmp=tmp->below)      for(tmp=pl->inv;tmp;tmp=tmp->below)
         if(!QUERY_FLAG(tmp,FLAG_IDENTIFIED) && !QUERY_FLAG(tmp,FLAG_KNOWN_MAGICAL)          if(!tmp->invisible
        && !QUERY_FLAG(tmp,FLAG_IDENTIFIED) && !QUERY_FLAG(tmp,FLAG_KNOWN_MAGICAL)
      && (is_magical(tmp)) && tmp->item_power < skill->level) {        && (is_magical(tmp)) && tmp->item_power < skill->level) {
             SET_FLAG(tmp,FLAG_KNOWN_MAGICAL);              SET_FLAG(tmp,FLAG_KNOWN_MAGICAL);
  esrv_update_item(UPD_FLAGS, pl, tmp);   esrv_update_item(UPD_FLAGS, pl, tmp);


Legend:
line(s) removed in v.1.59 
line(s) changed
 line(s) added in v.1.60

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