diff options
author | Mattes D <github@xoft.cz> | 2014-10-23 12:51:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-23 12:51:59 +0200 |
commit | 07bbfd58949d1155617e969651e89c8392a981c0 (patch) | |
tree | c613742dff9016bbc380d12970becd9523d88910 | |
parent | Removed the "conditional expression is constant" warning. (diff) | |
download | cuberite-07bbfd58949d1155617e969651e89c8392a981c0.tar cuberite-07bbfd58949d1155617e969651e89c8392a981c0.tar.gz cuberite-07bbfd58949d1155617e969651e89c8392a981c0.tar.bz2 cuberite-07bbfd58949d1155617e969651e89c8392a981c0.tar.lz cuberite-07bbfd58949d1155617e969651e89c8392a981c0.tar.xz cuberite-07bbfd58949d1155617e969651e89c8392a981c0.tar.zst cuberite-07bbfd58949d1155617e969651e89c8392a981c0.zip |
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.inc b/src/Simulator/IncrementalRedstoneSimulator.inc index 200fc0971..2d03584e2 100644 --- a/src/Simulator/IncrementalRedstoneSimulator.inc +++ b/src/Simulator/IncrementalRedstoneSimulator.inc @@ -2001,7 +2001,6 @@ bool cIncrementalRedstoneSimulator<ChunkType, WorldType, GetHandlerCompileTime, // Check if western(left) neighbor is a powered on repeater who is facing us if (m_Chunk->UnboundedRelGetBlock(a_RelBlockX - 1, a_RelBlockY, a_RelBlockZ, Block, OtherRepeaterDir) && (Block == E_BLOCK_REDSTONE_REPEATER_ON)) { - NIBBLETYPE OtherRepeaterDir = m_Chunk->GetMeta(a_RelBlockX -1, a_RelBlockY, a_RelBlockZ) & 0x3; if ((OtherRepeaterDir & 0x03) == 0x1) { return true; |