From dbb98689ef33eb3dcaf38036e5976ed3a0374e1d Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Fri, 15 Nov 2024 10:55:17 +0100 Subject: [PATCH] Remove magic roof addition on manual construction --- src/construction.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/construction.cpp b/src/construction.cpp index 3fa7b2dca85d4..8312a5c028a55 100644 --- a/src/construction.cpp +++ b/src/construction.cpp @@ -1398,16 +1398,6 @@ void complete_construction( Character *you ) here.furn_set( terp, furn_str_id( built.post_terrain ) ); } else { here.ter_set( terp, ter_str_id( built.post_terrain ) ); - // Make a roof if constructed terrain should have it and it's an open space - if( construct::check_up_OK( terp ) ) { - const int_id post_terrain = ter_id( built.post_terrain ); - if( post_terrain->roof ) { - const tripoint_bub_ms top = terp + tripoint_above; - if( here.ter( top )->has_flag( "EMPTY_SPACE" ) ) { - here.ter_set( top, ter_id( post_terrain->roof ) ); - } - } - } } }