diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-18 23:30:34 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-18 23:30:34 +0100 |
commit | bc1e236d547479833cc4f8d8218064cbdb9dfc0d (patch) | |
tree | 8b40bc3a6d5a7b6828d72095afc7c8dfbf5137d5 /source/Blocks/BlockRedstoneRepeater.cpp | |
parent | Mineshafts: silenced a compiler warning. (diff) | |
download | cuberite-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/BlockRedstoneRepeater.cpp')
-rw-r--r-- | source/Blocks/BlockRedstoneRepeater.cpp | 3 |
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; } |