summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockComparator.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-18 23:30:34 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-18 23:30:34 +0100
commitbc1e236d547479833cc4f8d8218064cbdb9dfc0d (patch)
tree8b40bc3a6d5a7b6828d72095afc7c8dfbf5137d5 /source/Blocks/BlockComparator.cpp
parentMineshafts: silenced a compiler warning. (diff)
downloadcuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.gz
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.bz2
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.lz
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.xz
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.tar.zst
cuberite-bc1e236d547479833cc4f8d8218064cbdb9dfc0d.zip
Diffstat (limited to 'source/Blocks/BlockComparator.cpp')
-rw-r--r--source/Blocks/BlockComparator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Blocks/BlockComparator.cpp b/source/Blocks/BlockComparator.cpp
index b4e5a55d0..8bc0ac5ac 100644
--- a/source/Blocks/BlockComparator.cpp
+++ b/source/Blocks/BlockComparator.cpp
@@ -1,7 +1,7 @@
#include "Globals.h"
#include "BlockComparator.h"
-#include "../Simulator/RedstoneSimulator.h"
+#include "BlockRedstoneRepeater.h"
#include "../Entities/Player.h"
@@ -44,7 +44,7 @@ bool cBlockComparatorHandler::GetPlacementBlockTypeMeta(
)
{
a_BlockType = m_BlockType;
- a_BlockMeta = cRedstoneSimulator::RepeaterRotationToMetaData(a_Player->GetRotation());
+ a_BlockMeta = cBlockRedstoneRepeaterHandler::RepeaterRotationToMetaData(a_Player->GetRotation());
return true;
}