--- deliantra/server/random_maps/room_gen_onion.C 2010/03/26 01:04:44 1.22 +++ deliantra/server/random_maps/room_gen_onion.C 2010/07/01 01:22:44 1.23 @@ -62,14 +62,14 @@ static void make_doors (char **maze, float *xlocations, float *ylocations, int layers, int options); void -map_gen_onion (Layout maze, int option, int layers) +map_gen_onion (Layout &maze, int option, int layers) { int i, j; - int xsize = maze->w; - int ysize = maze->h; + int xsize = maze.w; + int ysize = maze.h; - maze->clear (); + maze.clear (); /* pick some random options if option = 0 */ if (option == 0) @@ -93,7 +93,7 @@ /* write the outer walls, if appropriate. */ if (!(option & RMOPT_WALL_OFF)) - maze->border (); + maze.border (); if (option & RMOPT_WALLS_ONLY) return;