summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockRedstoneRepeater.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-11-19 10:12:23 +0100
committerMattes D <github@xoft.cz>2013-11-19 10:12:23 +0100
commit208f2397f416ecdc790713a13bc5055c0ac43f0f (patch)
tree4ca8e0abb22275856c09c0e20e55b623ed057da2 /source/Blocks/BlockRedstoneRepeater.cpp
parentMerge branch 'master' of git://github.com/nesco/MCServer. (diff)
parentPossible compile fix (diff)
downloadcuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.gz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.bz2
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.lz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.xz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.zst
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.zip
Diffstat (limited to 'source/Blocks/BlockRedstoneRepeater.cpp')
-rw-r--r--source/Blocks/BlockRedstoneRepeater.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Blocks/BlockRedstoneRepeater.cpp b/source/Blocks/BlockRedstoneRepeater.cpp
index 72ea21012..3ab5bc559 100644
--- a/source/Blocks/BlockRedstoneRepeater.cpp
+++ b/source/Blocks/BlockRedstoneRepeater.cpp
@@ -1,7 +1,6 @@
#include "Globals.h"
#include "BlockRedstoneRepeater.h"
-#include "../Simulator/RedstoneSimulator.h"
#include "../Entities/Player.h"
@@ -42,7 +41,7 @@ bool cBlockRedstoneRepeaterHandler::GetPlacementBlockTypeMeta(
)
{
a_BlockType = m_BlockType;
- a_BlockMeta = cRedstoneSimulator::RepeaterRotationToMetaData(a_Player->GetRotation());
+ a_BlockMeta = RepeaterRotationToMetaData(a_Player->GetRotation());
return true;
}