1
0

Update src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h

Co-authored-by: peterbell10 <peterbell10@live.co.uk>
This commit is contained in:
mBornand 2020-05-03 01:58:24 +02:00 committed by Tiger Wang
parent 83193f132c
commit 1c579f58aa

View File

@ -38,14 +38,7 @@ public:
else else
{ {
/** Check if block is not aligned in z direction */ /** Check if block is not aligned in z direction */
if (a_Offset.z == 0) return (a_Offset.z != 0);
{
return false;
}
else
{
return true;
}
} }
case E_BLOCK_ACTIVE_COMPARATOR: case E_BLOCK_ACTIVE_COMPARATOR:
case E_BLOCK_INACTIVE_COMPARATOR: case E_BLOCK_INACTIVE_COMPARATOR: