Skip to content

Commit

Permalink
Get rid of commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Jan 10, 2025
1 parent 75d64f5 commit 3e5f7bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9278,7 +9278,6 @@ void map::spawn_monsters_submap( const tripoint_rel_sm &gp, bool ignore_sight, b
// then fall back to picking a random point that is a valid location.
if( valid_location( center ) ) {
place_it( center );
// } else if( const std::optional<tripoint_bub_ms> pos = random_point( points, valid_location ) ) {
} else {
const std::optional<tripoint_bub_ms> pos = random_point( points, valid_location );
if( pos.has_value() ) {
Expand Down

0 comments on commit 3e5f7bc

Please sign in to comment.