--- deliantra/server/common/init.c 2006/02/22 18:01:18 1.1.1.2 +++ deliantra/server/common/init.c 2006/04/28 13:56:25 1.6 @@ -56,7 +56,9 @@ TMPDIR, STAT_LOSS_ON_DEATH, PK_LUCK_PENALTY, -USE_PERMANENT_EXPERIENCE, +PERMANENT_EXPERIENCE_RATIO, +DEATH_PENALTY_RATIO, +DEATH_PENALTY_LEVEL, BALANCED_STAT_LOSS, NOT_PERMADETH, SIMPLE_EXP, @@ -94,6 +96,7 @@ ARMOR_SPEED_IMPROVEMENT, ARMOR_SPEED_LINEAR, 1, /* no_player_stealing */ +1, /* create_home_portals */ }; /* perhaps not the best place for this, but needs to be @@ -246,8 +249,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; @@ -309,9 +312,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; }