Skip to content

Commit

Permalink
Merge pull request #47968 from tsulh/bugfix_for_45240
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored Mar 10, 2021
2 parents aac9170 + a543700 commit 16d21b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2816,7 +2816,7 @@ bool map::has_nearby_table( const tripoint &p, int radius )
if( has_flag( "FLAT_SURF", pt ) ) {
return true;
}
const optional_vpart_position vp = veh_at( p );
const optional_vpart_position vp = veh_at( pt );
if( vp && vp->part_with_feature( "FLAT_SURF", true ) ) {
return true;
}
Expand Down

0 comments on commit 16d21b1

Please sign in to comment.