Difference for server/shop.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_shop_c =   * static char *rcsid_shop_c =
  *   "$Id: shop.c,v 1.5 2000/06/08 16:08:41 jec Exp $";   *   "$Id: shop.c,v 1.6 2000/08/07 05:16:34 cvs Exp $";
  */   */
   
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
   
     Copyright (C) 1994 Mark Wedel      Copyright (C) 2000 Mark Wedel
     Copyright (C) 1992 Frank Tore Johansen      Copyright (C) 1992 Frank Tore Johansen
   
     This program is free software; you can redistribute it and/or modify      This program is free software; you can redistribute it and/or modify
Line 23
 
Line 23
     along with this program; if not, write to the Free Software      along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   
     The author can be reached via e-mail to master@rahul.net      The author can be reached via e-mail to mwedel@scruz.net
   
 */  */
   
Line 654
 
Line 654
      case BOOTS:       case BOOTS:
      case GLOVES:       case GLOVES:
      case GIRDLE:       case GIRDLE:
  sprintf(buf,"%s %s",query_base_name(tmp),describe_item(tmp));   sprintf(buf,"%s %s",query_base_name(tmp,0),describe_item(tmp));
          items[numitems].item_sort = strdup_local(buf);           items[numitems].item_sort = strdup_local(buf);
  sprintf(buf,"%s %s",query_name(tmp),describe_item(tmp));   sprintf(buf,"%s %s",query_name(tmp),describe_item(tmp));
          items[numitems++].item_real = strdup_local(buf);           items[numitems++].item_real = strdup_local(buf);
  break;   break;
   
      default:       default:
          items[numitems].item_sort = strdup_local(query_base_name(tmp));           items[numitems].item_sort = strdup_local(query_base_name(tmp, 0));
          items[numitems++].item_real = strdup_local(query_name(tmp));           items[numitems++].item_real = strdup_local(query_name(tmp));
  break;   break;
  }   }


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

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