Difference for common/init.c from version 1.50 to 1.51


version 1.50 version 1.51
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.50 2006/07/14 17:58:10 qal21 Exp $";   *   "$Id: init.c,v 1.51 2006/08/05 08:56:21 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 249
 
Line 249
     first_treasurelist=NULL;      first_treasurelist=NULL;
     first_artifactlist=NULL;      first_artifactlist=NULL;
     first_archetype=NULL;      first_archetype=NULL;
       *first_map_ext_path=0;
     warn_archetypes=0;      warn_archetypes=0;
     first_map=NULL;  
     nroftreasures = 0;      nroftreasures = 0;
     nrofartifacts = 0;      nrofartifacts = 0;
     nrofallowedstr=0;      nrofallowedstr=0;
Line 314
 
Line 314
 void init_dynamic (void) {  void init_dynamic (void) {
     archetype *at = first_archetype;      archetype *at = first_archetype;
     while (at) {      while (at) {
  if (at->clone.type == MAP && EXIT_PATH (&at->clone)) {   if (at->clone.type == MAP) {
               if (at->clone.race) {
                   strcpy (first_map_ext_path, at->clone.race);
               }
               if (EXIT_PATH (&at->clone)) {
      strcpy (first_map_path, EXIT_PATH (&at->clone));       strcpy (first_map_path, EXIT_PATH (&at->clone));
      return;       return;
  }   }
    }
  at = at->next;   at = at->next;
     }      }
     LOG(llevDebug,"You Need a archetype called 'map' and it have to contain start map\n");      LOG(llevDebug,"You Need a archetype called 'map' and it have to contain start map\n");


Legend:
line(s) removed in v.1.50 
line(s) changed
 line(s) added in v.1.51

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