From 701fee334ce6b83ad7e555767d04f14c5dc60766 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Wed, 17 Jan 2018 20:15:42 +0100 Subject: Prioritize hinge on the left side (#4153) --- src/Items/ItemDoor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Items/ItemDoor.h b/src/Items/ItemDoor.h index a74997b7d..9cf67dd0e 100644 --- a/src/Items/ItemDoor.h +++ b/src/Items/ItemDoor.h @@ -97,6 +97,7 @@ public: if ( cBlockDoorHandler::IsDoorBlockType(LeftNeighborBlock) || // The block to the left is a door block ( + !cBlockInfo::IsSolid(LeftNeighborBlock) && // Prioritize hinge on the left side cBlockInfo::IsSolid(RightNeighborBlock) && // The block to the right is solid... !cBlockDoorHandler::IsDoorBlockType(RightNeighborBlock) // ... but not a door ) -- cgit v1.2.3