Difference for common/treasure.c from version 1.46 to 1.47


version 1.46 version 1.47
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.46 2004/03/03 01:17:09 temitchell Exp $";   *   "$Id: treasure.c,v 1.47 2004/03/12 19:21:22 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 1182
 
Line 1182
  cp=buf;   cp=buf;
  while(*cp==' ') /* Skip blanks */   while(*cp==' ') /* Skip blanks */
      cp++;       cp++;
       if (*cp=='\0') continue;
    
  if (!strncmp(cp, "Allowed", 7)) {   if (!strncmp(cp, "Allowed", 7)) {
    if (art==NULL) {
      art=get_empty_artifact();       art=get_empty_artifact();
   
      nrofartifacts++;       nrofartifacts++;
           }
      cp = strchr(cp,' ') + 1;       cp = strchr(cp,' ') + 1;
      if (!strcmp(cp,"all")) continue;       if (!strcmp(cp,"all")) continue;
   
Line 1219
 
Line 1221
      }       }
      art->next = al->items;       art->next = al->items;
      al->items = art;       al->items = art;
    art = NULL;
  }   }
  else   else
      LOG(llevError,"Unkown input in artifact file: %s\n", buf);       LOG(llevError,"Unkown input in artifact file: %s\n", buf);


Legend:
line(s) removed in v.1.46 
line(s) changed
 line(s) added in v.1.47

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