Difference for random_maps/treasure.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_treasure_c =   * static char *rcsid_treasure_c =
  *   "$Id: treasure.c,v 1.9 2001/02/11 08:17:06 peterm Exp $";   *   "$Id: treasure.c,v 1.10 2001/02/23 06:06:35 mwedel Exp $";
  */   */
   
 /*  /*
Line 546
 
Line 546
   char *doors[2];    char *doors[2];
   object **doorlist;    object **doorlist;
   int ndoors_made=0;    int ndoors_made=0;
   doorlist = (object **) calloc(sizeof(object *),8);    doorlist = (object **) calloc(9, sizeof(object *)); /* 9 doors so we can hold termination null */
   
   /* this is a list we pick from, for horizontal and vertical doors */    /* this is a list we pick from, for horizontal and vertical doors */
   if(opts&DOORED) {    if(opts&DOORED) {


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

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