Difference for common/item.c from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *   "$Id: item.c,v 1.29 2002/11/14 01:03:59 garbled Exp $";   *   "$Id: item.c,v 1.30 2003/01/05 23:50:10 mwedel Exp $";
  */   */
   
 /*  /*
Line 793
 
Line 793
      * also makes the code easier to read.       * also makes the code easier to read.
      */       */
     if (!need_identify(op) || QUERY_FLAG(op, FLAG_IDENTIFIED)) identified = 1;      if (!need_identify(op) || QUERY_FLAG(op, FLAG_IDENTIFIED)) identified = 1;
     else identified = 0;      else {
    strcpy(retbuf,"(unidentified)");
    identified = 0;
       }
   
     switch(op->type) {      switch(op->type) {
  case BOW:   case BOW:
Line 952
 
Line 955
      sprintf(buf,"(Max speed %1.2f)", ARMOUR_SPEED(op) / 10.0);       sprintf(buf,"(Max speed %1.2f)", ARMOUR_SPEED(op) / 10.0);
      strcat(retbuf, buf);       strcat(retbuf, buf);
  }   }
  /* Do this in all cases - otherwise it gets confusing - does that   if (ARMOUR_SPELLS(op))
  * item have no penality, or is it not fully identified for example.  
           */  
  sprintf(buf,"(Spell regen penalty %d)", ARMOUR_SPELLS(op));   sprintf(buf,"(Spell regen penalty %d)", ARMOUR_SPELLS(op));
  strcat(retbuf, buf);   strcat(retbuf, buf);
  more_info=1;   more_info=1;


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

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