diff --git a/src/map.cpp b/src/map.cpp index 5de7ac59ef154..fae4d9f65a9a4 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -7089,7 +7089,7 @@ void map::reachable_flood_steps( std::vector &reachable_pts, const tri const tripoint tp = { p.xy(), f.z }; const int tp_cost = move_cost( tp ); // rejection conditions - if( tp_cost < cost_min || tp_cost > cost_max || ( !has_floor_or_support( tp ) && tp != f ) ) { + if( tp_cost < cost_min || tp_cost > cost_max || is_open_air( tp ) ) { continue; } // set initial cost for grid point