1
0
Fork 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
1 changed files with 1 additions and 8 deletions

View File

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