Difference for server/shop.c from version 1.35 to 1.36


version 1.35 version 1.36
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_shop_c =   * static char *rcsid_shop_c =
  *   "$Id: shop.c,v 1.35 2005/04/14 06:12:57 mwedel Exp $";   *   "$Id: shop.c,v 1.36 2005/07/10 13:54:07 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 527
 
Line 527
         
     if(op!=NULL&&QUERY_FLAG(op,FLAG_UNPAID)) {      if(op!=NULL&&QUERY_FLAG(op,FLAG_UNPAID)) {
         strncpy(buf,query_cost_string(op,pl,F_BUY),MAX_BUF);          strncpy(buf,query_cost_string(op,pl,F_BUY),MAX_BUF);
           buf[MAX_BUF-1] = '\0';
         if(!pay_for_item(op,pl)) {          if(!pay_for_item(op,pl)) {
             uint64 i=query_cost(op,pl,F_BUY) - query_money(pl);              uint64 i=query_cost(op,pl,F_BUY) - query_money(pl);
      CLEAR_FLAG(op, FLAG_UNPAID);       CLEAR_FLAG(op, FLAG_UNPAID);


Legend:
line(s) removed in v.1.35 
line(s) changed
 line(s) added in v.1.36

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