--- deliantra/server/random_maps/exit.C 2006/09/14 22:34:02 1.6 +++ deliantra/server/random_maps/exit.C 2006/12/12 20:53:03 1.8 @@ -123,11 +123,11 @@ */ void -place_exits (mapstruct *map, char **maze, char *exitstyle, int orientation, RMParms * RP) +place_exits (maptile *map, char **maze, char *exitstyle, int orientation, RMParms * RP) { char styledirname[256]; - mapstruct *style_map_down = 0; /* harder maze */ - mapstruct *style_map_up = 0; /* easier maze */ + maptile *style_map_down = 0; /* harder maze */ + maptile *style_map_up = 0; /* easier maze */ object *the_exit_down; /* harder maze */ object *the_exit_up; /* easier maze */ object *random_sign; /* magic mouth saying this is a random map. */ @@ -316,7 +316,7 @@ /* the identifier for making a random map. */ if (RP->dungeon_level >= RP->dungeon_depth && RP->final_map[0] != 0) { - mapstruct *new_map; + maptile *new_map; object *the_exit_back = arch_to_object (the_exit_up->arch), *tmp; #if 0 @@ -347,8 +347,8 @@ */ if (tmp->type == EXIT && EXIT_PATH (tmp) && !strncmp (EXIT_PATH (tmp), "/random/", 8)) { - remove_ob (tmp); - free_object (tmp); + tmp->remove (); + tmp->destroy (0); break; } @@ -384,7 +384,7 @@ keep things from being dumped on them during the other phases of random map generation. */ void -unblock_exits (mapstruct *map, char **maze, RMParms * RP) +unblock_exits (maptile *map, char **maze, RMParms * RP) { int i = 0, j = 0; object *walk;