Difference for random_maps/special.c from version 1.23 to 1.24


version 1.23 version 1.24
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_special_c =   * static char *rcsid_special_c =
  *   "$Id: special.c,v 1.23 2005/11/16 08:16:08 mwedel Exp $";   *   "$Id: special.c,v 1.24 2006/04/06 21:18:35 tchize Exp $";
  */   */
   
 /*  /*
Line 140
 
Line 140
 void place_fountain_with_specials(mapstruct *map) {  void place_fountain_with_specials(mapstruct *map) {
   int ix,iy,i=-1,tries=0;    int ix,iy,i=-1,tries=0;
   mapstruct *fountain_style=find_style("/styles/misc","fountains",-1);    mapstruct *fountain_style=find_style("/styles/misc","fountains",-1);
   object *fountain=get_archetype("fountain");    object *fountain=create_archetype("fountain");
   object *potion=get_object();    object *potion=get_object();
   copy_object(pick_random_object(fountain_style),potion);    copy_object(pick_random_object(fountain_style),potion);
   while(i<0 && tries<10) {    while(i<0 && tries<10) {


Legend:
line(s) removed in v.1.23 
line(s) changed
 line(s) added in v.1.24

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