summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-19 14:53:41 +0200
committermadmaxoft <github@xoft.cz>2014-07-19 14:53:41 +0200
commit00c524519ef6c7ceaf4ac91307617cfd65d7cf21 (patch)
tree3587ecc98aada0ce36da33e50a1d460c17129b3e /src/Simulator/IncrementalRedstoneSimulator.cpp
parentMerge pull request #1214 from mc-server/anti-glob (diff)
downloadcuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.gz
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.bz2
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.lz
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.xz
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.zst
cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator.cpp')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator.cpp
index 3dd6417dc..ada8de4b8 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.cpp
+++ b/src/Simulator/IncrementalRedstoneSimulator.cpp
@@ -570,10 +570,10 @@ void cIncrementalRedstoneSimulator::HandleRedstoneWire(int a_RelBlockX, int a_Re
{-1, 1, 0},
{ 0, 1, 1},
{ 0, 1, -1}, /* Wires one higher, surrounding self stop */
- { 1,-1, 0}, /* Wires one lower, surrounding self start */
- {-1,-1, 0},
- { 0,-1, 1},
- { 0,-1, -1}, /* Wires one lower, surrounding self stop */
+ { 1, -1, 0}, /* Wires one lower, surrounding self start */
+ {-1, -1, 0},
+ { 0, -1, 1},
+ { 0, -1, -1}, /* Wires one lower, surrounding self stop */
} ;
static const struct // Define which directions the wire will check for repeater prescence
@@ -584,7 +584,7 @@ void cIncrementalRedstoneSimulator::HandleRedstoneWire(int a_RelBlockX, int a_Re
{ 1, 0, 0 },
{-1, 0, 0 },
{ 0, 0, 1 },
- { 0, 0,-1 },
+ { 0, 0, -1 },
{ 0, 1, 0 },
};