summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-12-19 22:41:17 +0100
committerLukas Pioch <lukas@zgow.de>2015-12-19 22:43:37 +0100
commit50a908fdc9710ae545d7633c2cb0d40d8ae58b92 (patch)
treebdd074dd9d0bacb7000402b78ac8fe5dc7a7cdd2 /src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h
parentHTTPS Newsletter (diff)
downloadcuberite-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 '')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h
index 1d5f16e9a..78854f2c4 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneComparatorHandler.h
@@ -46,7 +46,7 @@ public:
auto RearCoordinate = cBlockComparatorHandler::GetRearCoordinate(a_Position, a_Meta & 0x3);
m_World.DoWithBlockEntityAt(RearCoordinate.x, RearCoordinate.y, RearCoordinate.z, CCB);
auto RearPower = CCB.m_SignalStrength;
- auto PotentialSourceHandler = std::move(cIncrementalRedstoneSimulator::CreateComponent(m_World, m_World.GetBlock(RearCoordinate), static_cast<cIncrementalRedstoneSimulator *>(m_World.GetRedstoneSimulator())->GetChunkData()));
+ auto PotentialSourceHandler = cIncrementalRedstoneSimulator::CreateComponent(m_World, m_World.GetBlock(RearCoordinate), static_cast<cIncrementalRedstoneSimulator *>(m_World.GetRedstoneSimulator())->GetChunkData());
if (PotentialSourceHandler != nullptr)
{
BLOCKTYPE Type;
@@ -83,7 +83,7 @@ public:
UNUSED(a_BlockType);
auto RearCoordinate = cBlockComparatorHandler::GetRearCoordinate(a_Position, a_Meta & 0x3);
- auto PotentialSourceHandler = std::move(cIncrementalRedstoneSimulator::CreateComponent(m_World, m_World.GetBlock(RearCoordinate), static_cast<cIncrementalRedstoneSimulator *>(m_World.GetRedstoneSimulator())->GetChunkData()));
+ auto PotentialSourceHandler = cIncrementalRedstoneSimulator::CreateComponent(m_World, m_World.GetBlock(RearCoordinate), static_cast<cIncrementalRedstoneSimulator *>(m_World.GetRedstoneSimulator())->GetChunkData());
if (PotentialSourceHandler != nullptr)
{
BLOCKTYPE Type;