Difference for server/apply.c from version 1.17 to 1.18


version 1.17 version 1.18
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.17 2000/06/18 20:09:10 jec Exp $";   *   "$Id: apply.c,v 1.18 2000/06/20 07:33:38 peterm Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 2341
 
Line 2341
   
  if(QUERY_FLAG(tmp,FLAG_AUTO_APPLY))   if(QUERY_FLAG(tmp,FLAG_AUTO_APPLY))
           auto_apply(tmp);            auto_apply(tmp);
         else if(tmp->type==TREASURE) {          else if((tmp->type==TREASURE || (tmp->type==CONTAINER))&&tmp->randomitems) {
    while ((tmp->stats.hp--)>0)     while ((tmp->stats.hp--)>0)
             create_treasure(tmp->randomitems, tmp, GT_INVENTORY,              create_treasure(tmp->randomitems, tmp, GT_INVENTORY,
                             m->difficulty,0);                              m->difficulty,0);


Legend:
line(s) removed in v.1.17 
line(s) changed
 line(s) added in v.1.18

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