summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-18 09:57:34 +0200
committermadmaxoft <github@xoft.cz>2014-07-18 09:57:34 +0200
commit2df5e26d3b7f08ef7d120511705fa0b75a44783e (patch)
tree29c7d3211df380072585b5cfcb63d7e525d451ef /src/Simulator
parentRemoved duplicate IPvX labels. (diff)
downloadcuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.gz
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.bz2
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.lz
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.xz
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.zst
cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.zip
Diffstat (limited to 'src/Simulator')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator.cpp
index 8e5e40fb5..3dd6417dc 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.cpp
+++ b/src/Simulator/IncrementalRedstoneSimulator.cpp
@@ -724,7 +724,7 @@ void cIncrementalRedstoneSimulator::HandleRedstoneRepeater(int a_RelBlockX, int
X Axis ---->
- Repeater directions, values from a cWorld::GetBlockMeta(a_RelBlockX , a_RelBlockY, a_RelBlockZ) lookup:
+ Repeater directions, values from a cWorld::GetBlockMeta(a_RelBlockX, a_RelBlockY, a_RelBlockZ) lookup:
East (Right) (X+): 0x1
West (Left) (X-): 0x3
@@ -1723,7 +1723,7 @@ bool cIncrementalRedstoneSimulator::IsWirePowered(int a_RelBlockX, int a_RelBloc
{
continue;
}
- a_PowerLevel = std::max(itr->a_PowerLevel , a_PowerLevel); // Get the highest power level (a_PowerLevel is initialised already and there CAN be multiple levels for one block)
+ a_PowerLevel = std::max(itr->a_PowerLevel, a_PowerLevel); // Get the highest power level (a_PowerLevel is initialised already and there CAN be multiple levels for one block)
}
for (LinkedBlocksList::const_iterator itr = m_LinkedPoweredBlocks->begin(); itr != m_LinkedPoweredBlocks->end(); ++itr) // Check linked powered list