1
0
Fork 0

Prioritize hinge on the left side (#4153)

This commit is contained in:
Bond-009 2018-01-17 20:15:42 +01:00 committed by Alexander Harkness
parent d11335e4f6
commit 701fee334c
1 changed files with 1 additions and 0 deletions

View File

@ -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
)