From d24f572a9a2d9a782c31e4e3b1d1178c188dd2d0 Mon Sep 17 00:00:00 2001 From: ZhilkinSerg Date: Sun, 24 Mar 2019 20:17:04 +0300 Subject: [PATCH] Limit start location search radius 32 was an arbitrary number --- src/start_location.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/start_location.cpp b/src/start_location.cpp index 9a9d71cd862dc..9a9d9ac231c48 100644 --- a/src/start_location.cpp +++ b/src/start_location.cpp @@ -204,7 +204,7 @@ tripoint start_location::find_player_initial_location() const popup_nowait( _( "Please wait as we build your world" ) ); // Spiral out from the world origin scanning for a compatible starting location, // creating overmaps as necessary. - const int radius = 32; + const int radius = 3; for( const point &omp : closest_points_first( radius, point_zero ) ) { overmap &omap = overmap_buffer.get( omp.x, omp.y ); const tripoint omtstart = omap.find_random_omt( target() );