Difference for server/shop.c from version 1.44 to 1.45


version 1.44 version 1.45
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_shop_c =   * static char *rcsid_shop_c =
  *   "$Id: shop.c,v 1.44 2005/10/06 13:18:54 cavesomething Exp $";   *   "$Id: shop.c,v 1.45 2005/10/06 21:25:43 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 857
 
Line 857
  */   */
 static uint64 value_limit(uint64 val, int quantity, object *who, int isshop) {  static uint64 value_limit(uint64 val, int quantity, object *who, int isshop) {
     uint64 newval, unit_price;      uint64 newval, unit_price;
       mapstruct *map;
     unit_price=val/quantity;      unit_price=val/quantity;
     newval=unit_price;      newval=unit_price;
     mapstruct *map;  
     if (!isshop || !who) {      if (!isshop || !who) {
  newval=8000+isqrt(unit_price)*20;   newval=8000+isqrt(unit_price)*20;
     }       }


Legend:
line(s) removed in v.1.44 
line(s) changed
 line(s) added in v.1.45

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