summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockComparator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Blocks/BlockComparator.cpp')
-rw-r--r--source/Blocks/BlockComparator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Blocks/BlockComparator.cpp b/source/Blocks/BlockComparator.cpp
index e6fa64e2c..87a10dc88 100644
--- a/source/Blocks/BlockComparator.cpp
+++ b/source/Blocks/BlockComparator.cpp
@@ -32,7 +32,7 @@ void cBlockComparatorHandler::OnUse(cWorld *a_World, cPlayer *a_Player, int a_Bl
{
NIBBLETYPE Meta = a_World->GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
Meta ^= 0x04; // Toggle 3rd (addition/subtraction) bit with XOR
- a_World->FastSetBlock(a_BlockX, a_BlockY, a_BlockZ, m_BlockType, Meta);
+ a_World->SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, Meta);
}