Skip to content

Commit

Permalink
Merge pull request #39997 from anothersimulacrum/astyle
Browse files Browse the repository at this point in the history
Fix astyle regression
  • Loading branch information
ZhilkinSerg authored Apr 28, 2020
2 parents f9b3841 + dd2a147 commit f550b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sounds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static std::vector<centroid> cluster_sounds( std::vector<std::pair<tripoint, int
static_cast<size_t>( std::log( input_sounds.size() ) ) );
const size_t stopping_point = input_sounds.size() - num_seed_clusters;
const size_t max_map_distance = sound_distance( tripoint( point_zero, OVERMAP_DEPTH ),
tripoint( MAPSIZE_X, MAPSIZE_Y, OVERMAP_HEIGHT ) );
tripoint( MAPSIZE_X, MAPSIZE_Y, OVERMAP_HEIGHT ) );
// Randomly choose cluster seeds.
for( size_t i = input_sounds.size(); i > stopping_point; i-- ) {
size_t index = rng( 0, i - 1 );
Expand Down

0 comments on commit f550b7e

Please sign in to comment.