Difference for server/apply.c from version 1.110 to 1.111


version 1.110 version 1.111
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.110 2004/05/15 18:15:35 ryo_saeba Exp $";   *   "$Id: apply.c,v 1.111 2004/08/16 08:47:04 ryo_saeba Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 3348
 
Line 3348
       * of maps/players already out there with items that have spells        * of maps/players already out there with items that have spells
       * which haven't had the randomitems set to null yet.        * which haven't had the randomitems set to null yet.
       * MSW 2004-05-13        * MSW 2004-05-13
                *
                * And if it's a spellbook, it's better to set randomitems to NULL too,
                * else you get two spells in the book ^_-
                * Ryo 2004-08-16
       */        */
      if (tmp->type == WAND || tmp->type == ROD || tmp->type == SCROLL ||       if (tmp->type == WAND || tmp->type == ROD || tmp->type == SCROLL ||
  tmp->type == HORN || tmp->type == FIREWALL || tmp->type == POTION ||   tmp->type == HORN || tmp->type == FIREWALL || tmp->type == POTION ||
  tmp->type == ALTAR)   tmp->type == ALTAR || tmp->type == SPELLBOOK)
      tmp->randomitems = NULL;       tmp->randomitems = NULL;
   
  }   }


Legend:
line(s) removed in v.1.110 
line(s) changed
 line(s) added in v.1.111

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