… | |
… | |
278 | |
278 | |
279 | if (the_exit_down) |
279 | if (the_exit_down) |
280 | { |
280 | { |
281 | char buf[16384]; |
281 | char buf[16384]; |
282 | |
282 | |
283 | int i = find_free_spot (the_exit_down, map, downx, downy, 1, SIZEOFFREE1 + 1); |
283 | int i = rmg_find_free_spot (the_exit_down, map, downx, downy, 1, SIZEOFFREE1 + 1); |
284 | the_exit_down->x = downx + freearr_x[i]; |
284 | the_exit_down->x = downx + freearr_x[i]; |
285 | the_exit_down->y = downy + freearr_y[i]; |
285 | the_exit_down->y = downy + freearr_y[i]; |
286 | RP->origin_x = the_exit_down->x; |
286 | RP->origin_x = the_exit_down->x; |
287 | RP->origin_y = the_exit_down->y; |
287 | RP->origin_y = the_exit_down->y; |
288 | write_map_parameters_to_string (buf, RP); |
288 | write_map_parameters_to_string (buf, RP); |