Difference for server/shop.c from version 1.37 to 1.38


version 1.37 version 1.38
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_shop_c =   * static char *rcsid_shop_c =
  *   "$Id: shop.c,v 1.37 2005/07/14 09:18:55 akirschbaum Exp $";   *   "$Id: shop.c,v 1.38 2005/08/12 08:18:59 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 245
 
Line 245
  * time is to add a higher denomination (mithril piece with   * time is to add a higher denomination (mithril piece with
  * 10,000 silver or something)   * 10,000 silver or something)
  */   */
 char *cost_string_from_value(uint64 cost)  const char *cost_string_from_value(uint64 cost)
 {  {
     static char buf[MAX_BUF];      static char buf[MAX_BUF];
     archetype *coin, *next_coin;      archetype *coin, *next_coin;
Line 305
 
Line 305
     return buf;      return buf;
 }  }
   
 char *query_cost_string(object *tmp,object *who,int flag) {  const char *query_cost_string(object *tmp,object *who,int flag) {
     return cost_string_from_value(query_cost(tmp,who,flag));      return cost_string_from_value(query_cost(tmp,who,flag));
 }  }
   


Legend:
line(s) removed in v.1.37 
line(s) changed
 line(s) added in v.1.38

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