From 41761624c27a6ea94c5d7ba8c97546dd28609c16 Mon Sep 17 00:00:00 2001 From: Gargaj Date: Sat, 5 Dec 2015 15:42:15 +0100 Subject: Tilling dirt should send block update There are BUD switches that are built on this (https://www.youtube.com/watch?v=Bk_ChvmtCNY) but more prominently, torches placed on dirt blocks should pop off when the dirt block is tilled. --- src/Items/ItemHoe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Items/ItemHoe.h b/src/Items/ItemHoe.h index ce6355ee7..62581e943 100644 --- a/src/Items/ItemHoe.h +++ b/src/Items/ItemHoe.h @@ -57,7 +57,7 @@ public: } } - a_World->FastSetBlock(a_BlockX, a_BlockY, a_BlockZ, NewBlock, 0); + a_World->SetBlock(a_BlockX, a_BlockY, a_BlockZ, NewBlock, 0); a_World->BroadcastSoundEffect("dig.gravel", a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5, 1.0f, 0.8f); a_Player->UseEquippedItem(); return true; -- cgit v1.2.3