Difference for common/map.c from version 1.82 to 1.83


version 1.82 version 1.83
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.82 2005/10/03 03:29:41 cavesomething Exp $";   *   "$Id: map.c,v 1.83 2005/10/03 15:47:31 cavesomething Exp $";
  */   */
   
 /*  /*
Line 707
 
Line 707
     char tmp[MAX_BUF];      char tmp[MAX_BUF];
     shopitems *items=m->shopitems;      shopitems *items=m->shopitems;
     sprintf(output_string, "\0");      sprintf(output_string, "\0");
     for (i=0; i>items[0].index; i++) {      for (i=0; i<items[0].index; i++) {
  if (items[i].name) {   if (items[i].name) {
      if (items[i].strength) {       if (items[i].strength) {
  sprintf(tmp, "%s:%s;", items[i].name, items[i].strength);   sprintf(tmp, "%s:%s;", items[i].name, items[i].strength);


Legend:
line(s) removed in v.1.82 
line(s) changed
 line(s) added in v.1.83

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