Difference for common/button.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_button_c =   * static char *rcsid_button_c =
  *   "$Id: button.c,v 1.9 2001/01/15 22:33:32 cvs Exp $";   *   "$Id: button.c,v 1.10 2001/02/26 00:06:21 avogl Exp $";
  */   */
   
 /*  /*
Line 72
 
Line 72
  update_object(tmp);   update_object(tmp);
  break;   break;
     case SIGN:      case SIGN:
  if (tmp->stats.food && ++tmp->last_eat>tmp->stats.food) {        if (!tmp->stats.food || tmp->last_eat < tmp->stats.food) {
      (*info_map_func)(NDI_UNIQUE | NDI_NAVY,tmp->map,   
      "Nothing is written on it.");  
  } else {  
      (*info_map_func)(NDI_UNIQUE | NDI_NAVY,tmp->map,tmp->msg);       (*info_map_func)(NDI_UNIQUE | NDI_NAVY,tmp->map,tmp->msg);
           if (tmp->stats.food) tmp->last_eat++;
  }   }
  break;   break;
     case ALTAR:      case ALTAR:


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

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