summaryrefslogtreecommitdiffstats
path: root/source/Simulator/RedstoneSimulator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-04 21:22:14 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-04 21:22:14 +0200
commit3ee523628465a59070354781cda6585f6778192c (patch)
tree0ef22389cfc7738fd79a02b11e1bc33a63f28b09 /source/Simulator/RedstoneSimulator.cpp
parentExpat project: fixed intermediate files output folder (diff)
downloadcuberite-3ee523628465a59070354781cda6585f6778192c.tar
cuberite-3ee523628465a59070354781cda6585f6778192c.tar.gz
cuberite-3ee523628465a59070354781cda6585f6778192c.tar.bz2
cuberite-3ee523628465a59070354781cda6585f6778192c.tar.lz
cuberite-3ee523628465a59070354781cda6585f6778192c.tar.xz
cuberite-3ee523628465a59070354781cda6585f6778192c.tar.zst
cuberite-3ee523628465a59070354781cda6585f6778192c.zip
Diffstat (limited to '')
-rw-r--r--source/Simulator/RedstoneSimulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Simulator/RedstoneSimulator.cpp b/source/Simulator/RedstoneSimulator.cpp
index 989443e41..97412cca1 100644
--- a/source/Simulator/RedstoneSimulator.cpp
+++ b/source/Simulator/RedstoneSimulator.cpp
@@ -3,10 +3,10 @@
#include "RedstoneSimulator.h"
#include "../BlockEntities/DropSpenserEntity.h"
+#include "../Blocks/BlockTorch.h"
#include "../Piston.h"
#include "../World.h"
#include "../BlockID.h"
-#include "../Torch.h"
#include "../Chunk.h"
@@ -179,7 +179,7 @@ void cRedstoneSimulator::RefreshTorchesAround(const Vector3i & a_BlockPos)
{
if (BlockType != TargetBlockType)
{
- if (cTorch::IsAttachedTo(TorchPos, BlockMeta, a_BlockPos))
+ if (cBlockTorchHandler::IsAttachedTo(TorchPos, BlockMeta, a_BlockPos))
{
m_World.FastSetBlock(TorchPos.x, TorchPos.y, TorchPos.z, TargetBlockType, BlockMeta);
m_Blocks.push_back(TorchPos);