summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Items/ItemDoor.h1
1 files changed, 1 insertions, 0 deletions
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
)