Skip to content

Commit

Permalink
Merge pull request #28959 from ZhilkinSerg/limit-start-location-searc…
Browse files Browse the repository at this point in the history
…h-radius

Limit start location search radius
  • Loading branch information
Rivet-the-Zombie authored Mar 25, 2019
2 parents 271c66b + d24f572 commit 165f7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/start_location.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
Expand Down

0 comments on commit 165f7cd

Please sign in to comment.