diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-04-07 18:28:16 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-04-07 18:28:16 +0200 |
commit | 5374730753aa5f07dc0b565af1140abb8b694c0b (patch) | |
tree | 79c87a5ed9ef47b3993a5f530c451ddf144ff169 /src | |
parent | Fixed the redstone simulator. (diff) | |
download | cuberite-5374730753aa5f07dc0b565af1140abb8b694c0b.tar cuberite-5374730753aa5f07dc0b565af1140abb8b694c0b.tar.gz cuberite-5374730753aa5f07dc0b565af1140abb8b694c0b.tar.bz2 cuberite-5374730753aa5f07dc0b565af1140abb8b694c0b.tar.lz cuberite-5374730753aa5f07dc0b565af1140abb8b694c0b.tar.xz cuberite-5374730753aa5f07dc0b565af1140abb8b694c0b.tar.zst cuberite-5374730753aa5f07dc0b565af1140abb8b694c0b.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator.cpp index cab3a714a..08a0f42c6 100644 --- a/src/Simulator/IncrementalRedstoneSimulator.cpp +++ b/src/Simulator/IncrementalRedstoneSimulator.cpp @@ -1224,7 +1224,7 @@ bool cIncrementalRedstoneSimulator::IsRepeaterPowered(int a_BlockX, int a_BlockY bool cIncrementalRedstoneSimulator::IsRepeaterLocked(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_Meta) { // Change checking direction according to meta rotation. - switch (m_World.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ) & 0x3) //compare my direction to my neighbor's + switch (a_Meta & 0x3) //compare my direction to my neighbor's { // If N/S check E/W <<<<< |