--- deliantra/server/common/init.c 2006/03/15 15:35:46 1.4 +++ deliantra/server/common/init.c 2006/04/21 14:40:29 1.5 @@ -248,8 +248,8 @@ first_treasurelist=NULL; first_artifactlist=NULL; first_archetype=NULL; + *first_map_ext_path=0; warn_archetypes=0; - first_map=NULL; nroftreasures = 0; nrofartifacts = 0; nrofallowedstr=0; @@ -311,9 +311,14 @@ void init_dynamic (void) { archetype *at = first_archetype; while (at) { - if (at->clone.type == MAP && EXIT_PATH (&at->clone)) { - strcpy (first_map_path, EXIT_PATH (&at->clone)); - return; + 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)); + return; + } } at = at->next; }