--- deliantra/server/random_maps/exit.C 2007/01/04 16:19:32 1.19 +++ deliantra/server/random_maps/exit.C 2007/01/15 15:54:19 1.22 @@ -1,7 +1,7 @@ - /* CrossFire, A Multiplayer game for X-windows + Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team Copyright (C) 2001 Mark Wedel & Crossfire Development Team Copyright (C) 1992 Frank Tore Johansen @@ -304,9 +304,9 @@ if (the_exit_down) { - char buf[8192]; + char buf[16384]; - int i = find_first_free_spot (the_exit_down, map, downx, downy); + int i = find_free_spot (the_exit_down, map, downx, downy, 1, SIZEOFFREE1 + 1); the_exit_down->x = downx + freearr_x[i]; the_exit_down->y = downy + freearr_y[i]; RP->origin_x = the_exit_down->x;