From 9855316494a374d459a27e01133ab0a56f41b581 Mon Sep 17 00:00:00 2001 From: "luksor111@gmail.com" Date: Mon, 22 Oct 2012 20:45:56 +0000 Subject: You can now see particles and hear sounds when other players are destroying blocks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1004 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/ClientHandle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp index 6bc0185ae..a6e025f8c 100644 --- a/source/ClientHandle.cpp +++ b/source/ClientHandle.cpp @@ -563,6 +563,7 @@ void cClientHandle::HandleBlockDig(int a_BlockX, int a_BlockY, int a_BlockZ, cha ItemHandler->OnBlockDestroyed(World, m_Player, &Equipped, a_BlockX, a_BlockY, a_BlockZ); BlockHandler(OldBlock)->OnDestroyedByPlayer(World, m_Player, a_BlockX, a_BlockY, a_BlockZ); + World->BroadcastSoundParticleEffect(2001, a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, OldBlock, this); World->DigBlock(a_BlockX, a_BlockY, a_BlockZ); } else -- cgit v1.2.3