Skip to content

Commit

Permalink
Merge pull request #31784 from ralreegorganon/fix-map-reveal
Browse files Browse the repository at this point in the history
Fix maps not revealing some overmap terrains
  • Loading branch information
ZhilkinSerg authored Jun 24, 2019
2 parents e7f5070 + 51cef08 commit a53a97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iuse_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ void reveal_map_actor::load( JsonObject &obj )
void reveal_map_actor::reveal_targets( const tripoint &center, const std::string &target,
int reveal_distance ) const
{
const auto places = overmap_buffer.find_all( center, target, radius, false );
const auto places = overmap_buffer.find_all( center, target, radius, false, true );
for( auto &place : places ) {
overmap_buffer.reveal( place, reveal_distance );
}
Expand Down

0 comments on commit a53a97d

Please sign in to comment.