summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockDispenser.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Blocks/BlockDispenser.h')
-rw-r--r--source/Blocks/BlockDispenser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Blocks/BlockDispenser.h b/source/Blocks/BlockDispenser.h
index a1aa45964..e5cde2fc5 100644
--- a/source/Blocks/BlockDispenser.h
+++ b/source/Blocks/BlockDispenser.h
@@ -28,6 +28,8 @@ public:
) override
{
a_BlockType = m_BlockType;
+
+ // FIXME: Do not use cPiston class for dispenser placement!
a_BlockMeta = cPiston::RotationPitchToMetaData(a_Player->GetRotation(), 0);
return true;
}