--- deliantra/server/random_maps/random_map.C 2006/12/14 22:45:40 1.9 +++ deliantra/server/random_maps/random_map.C 2006/12/30 10:16:11 1.10 @@ -115,7 +115,7 @@ theMap = make_map_floor (layout, RP->floorstyle, RP); /* set the name of the map. */ - strcpy (theMap->path, OutFileName); + theMap->path = OutFileName; /* set region */ theMap->region = RP->region; @@ -142,7 +142,7 @@ place_monsters (theMap, RP->monsterstyle, RP->difficulty, RP); /* treasures needs to have a proper difficulty set for the map. */ - theMap->difficulty = calculate_difficulty (theMap); + theMap->difficulty = theMap->estimate_difficulty (); /* create treasure unless the treasurestyle is "none" */ if (strcmp (RP->treasurestyle, "none"))