Difference for server/apply.c from version 1.124 to 1.125


version 1.124 version 1.125
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.124 2005/05/07 16:07:26 ryo_saeba Exp $";   *   "$Id: apply.c,v 1.125 2005/05/21 17:18:23 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 774
 
Line 774
      */       */
     if (!strcmp(CONV_FROM(converter),"money")) {      if (!strcmp(CONV_FROM(converter),"money")) {
  int cost;   int cost;
   
    if(item->type!=MONEY)
        return 0;
   
  nr=(item->nrof*item->value)/CONV_NEED(converter);   nr=(item->nrof*item->value)/CONV_NEED(converter);
  if (!nr) return 0;   if (!nr) return 0;
  cost=nr*CONV_NEED(converter)/item->value;   cost=nr*CONV_NEED(converter)/item->value;


Legend:
line(s) removed in v.1.124 
line(s) changed
 line(s) added in v.1.125

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