summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-01 14:06:32 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-01 14:06:32 +0100
commitc6304b2b4faf31c2e4a91a07bcac298467898dba (patch)
treefbb8ef9920403a02d26215492444a0b6045fa247 /src/Simulator
parentMerge branch 'master' into GeneratingBenchmark2 (diff)
downloadcuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.gz
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.bz2
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.lz
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.xz
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.tar.zst
cuberite-c6304b2b4faf31c2e4a91a07bcac298467898dba.zip
Diffstat (limited to 'src/Simulator')
-rw-r--r--src/Simulator/RedstoneSimulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Simulator/RedstoneSimulator.cpp b/src/Simulator/RedstoneSimulator.cpp
index e672c2e49..5749f5035 100644
--- a/src/Simulator/RedstoneSimulator.cpp
+++ b/src/Simulator/RedstoneSimulator.cpp
@@ -748,7 +748,7 @@ void cRedstoneSimulator::HandleDoor(int a_BlockX, int a_BlockY, int a_BlockZ)
if (!AreCoordsSimulated(a_BlockX, a_BlockY, a_BlockZ, true))
{
cChunkInterface ChunkInterface(m_World.GetChunkMap());
- cBlockDoorHandler::ChangeDoor(&ChunkInterface, a_BlockX, a_BlockY, a_BlockZ);
+ cBlockDoorHandler::ChangeDoor(ChunkInterface, a_BlockX, a_BlockY, a_BlockZ);
SetPlayerToggleableBlockAsSimulated(a_BlockX, a_BlockY, a_BlockZ, true);
}
}
@@ -757,7 +757,7 @@ void cRedstoneSimulator::HandleDoor(int a_BlockX, int a_BlockY, int a_BlockZ)
if (!AreCoordsSimulated(a_BlockX, a_BlockY, a_BlockZ, false))
{
cChunkInterface ChunkInterface(m_World.GetChunkMap());
- cBlockDoorHandler::ChangeDoor(&ChunkInterface, a_BlockX, a_BlockY, a_BlockZ);
+ cBlockDoorHandler::ChangeDoor(ChunkInterface, a_BlockX, a_BlockY, a_BlockZ);
SetPlayerToggleableBlockAsSimulated(a_BlockX, a_BlockY, a_BlockZ, false);
}
}