diff options
author | Lukas Pioch <lukas@zgow.de> | 2015-12-19 22:41:17 +0100 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2015-12-19 22:43:37 +0100 |
commit | 50a908fdc9710ae545d7633c2cb0d40d8ae58b92 (patch) | |
tree | bdd074dd9d0bacb7000402b78ac8fe5dc7a7cdd2 /src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h | |
parent | HTTPS Newsletter (diff) | |
download | cuberite-50a908fdc9710ae545d7633c2cb0d40d8ae58b92.tar cuberite-50a908fdc9710ae545d7633c2cb0d40d8ae58b92.tar.gz cuberite-50a908fdc9710ae545d7633c2cb0d40d8ae58b92.tar.bz2 cuberite-50a908fdc9710ae545d7633c2cb0d40d8ae58b92.tar.lz cuberite-50a908fdc9710ae545d7633c2cb0d40d8ae58b92.tar.xz cuberite-50a908fdc9710ae545d7633c2cb0d40d8ae58b92.tar.zst cuberite-50a908fdc9710ae545d7633c2cb0d40d8ae58b92.zip |
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h index fbf6eb646..697bbe7dd 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h @@ -37,7 +37,7 @@ public: cVector3iArray RelativePositions; bool IsYPTerracingBlocked = cBlockInfo::IsSolid(m_World.GetBlock(a_Position + OffsetYP())); - for (const auto Adjacent : GetRelativeLaterals()) + for (const auto & Adjacent : GetRelativeLaterals()) { if ( !IsYPTerracingBlocked && |