summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-14 11:47:10 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-14 11:47:10 +0200
commitc1deda5d8f01811efa5094e9375166acb69d50ed (patch)
tree9f98efb4b520fd16663cda2a40f153b48375a6e8 /src/Simulator/IncrementalRedstoneSimulator.h
parentReduced cPluginManager code duplication (diff)
downloadcuberite-c1deda5d8f01811efa5094e9375166acb69d50ed.tar
cuberite-c1deda5d8f01811efa5094e9375166acb69d50ed.tar.gz
cuberite-c1deda5d8f01811efa5094e9375166acb69d50ed.tar.bz2
cuberite-c1deda5d8f01811efa5094e9375166acb69d50ed.tar.lz
cuberite-c1deda5d8f01811efa5094e9375166acb69d50ed.tar.xz
cuberite-c1deda5d8f01811efa5094e9375166acb69d50ed.tar.zst
cuberite-c1deda5d8f01811efa5094e9375166acb69d50ed.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator.h
index 83076311a..1d6a49aca 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.h
+++ b/src/Simulator/IncrementalRedstoneSimulator.h
@@ -156,7 +156,7 @@ private:
bool AreCoordsLinkedPowered(int a_RelBlockX, int a_RelBlockY, int a_RelBlockZ);
/** Returns if a coordinate was marked as simulated (for blocks toggleable by players) */
bool AreCoordsSimulated(int a_RelBlockX, int a_RelBlockY, int a_RelBlockZ, bool IsCurrentStatePowered);
- /** Returns if a repeater is powered */
+ /** Returns if a repeater is powered by testing for power sources behind the repeater */
bool IsRepeaterPowered(int a_RelBlockX, int a_RelBlockY, int a_RelBlockZ, NIBBLETYPE a_Meta);
/** Returns if a repeater is locked */
bool IsRepeaterLocked(int a_RelBlockX, int a_RelBlockY, int a_RelBlockZ, NIBBLETYPE a_Meta);