Difference for server/apply.c from version 1.172 to 1.173


version 1.172 version 1.173
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.172 2006/08/10 06:13:18 qal21 Exp $";   *   "$Id: apply.c,v 1.173 2006/08/12 04:09:42 lalo Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1045
 
Line 1045
     (CONV_NEED(converter)&&CONV_NEED(converter)>item->nrof))      (CONV_NEED(converter)&&CONV_NEED(converter)>item->nrof))
      return 0;       return 0;
   
           /* silently burn unpaid items (only if they match what we want) */
           if(QUERY_FLAG(item, FLAG_UNPAID)) {
        remove_ob(item);
        free_object(item);
               item = create_archetype("burnout");
               if (item != NULL)
                   insert_ob_in_map_at(item, converter->map, converter,
                                       0, converter->x, converter->y);
               return 1;
           }
   
  if(CONV_NEED(converter)) {   if(CONV_NEED(converter)) {
      nr=item->nrof/CONV_NEED(converter);       nr=item->nrof/CONV_NEED(converter);
      decrease_ob_nr(item,nr*CONV_NEED(converter));       decrease_ob_nr(item,nr*CONV_NEED(converter));


Legend:
line(s) removed in v.1.172 
line(s) changed
 line(s) added in v.1.173

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