diff --git a/src/construction.cpp b/src/construction.cpp index 79123204911ed..a8b175c4bdace 100644 --- a/src/construction.cpp +++ b/src/construction.cpp @@ -1493,9 +1493,11 @@ bool construct::check_support( const tripoint_bub_ms &p ) // We want to find "walls" below (including windows and doors), but not open rooms and the like. if( here.has_flag( ter_furn_flag::TFLAG_SUPPORTS_ROOF, p + tripoint::below ) && ( here.has_flag( ter_furn_flag::TFLAG_WALL, p + tripoint::below ) || - here.has_flag( ter_furn_flag::TFLAG_CONNECT_WITH_WALL, p + tripoint::below ) ) ) { + here.has_flag( ter_furn_flag::TFLAG_DOOR, p + tripoint::below ) || + here.has_flag( ter_furn_flag::TFLAG_WINDOW, p + tripoint::below ) ) ) { num_supports += 2; } + return num_supports >= 2; }