summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authorkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-18 03:51:55 +0100
committerkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-18 03:51:55 +0100
commit8557ed83593444b3bfbf9dabb1a6ebbaa10299d3 (patch)
treec560c8243d5c93251ac308253e9d5870ee0f70e1 /source/ClientHandle.cpp
parentRewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging) (diff)
downloadcuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.gz
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.bz2
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.lz
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.xz
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.tar.zst
cuberite-8557ed83593444b3bfbf9dabb1a6ebbaa10299d3.zip
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index fde80a083..2cb508b81 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -1453,6 +1453,17 @@ void cClientHandle::SendEntLook(const cEntity & a_Entity)
+void cClientHandle::SendEntVelocity(const cEntity & a_Entity)
+{
+ ASSERT(a_Entity.GetUniqueID() != m_Player->GetUniqueID()); // Must not send for self
+
+ m_Protocol->SendEntVelocity(a_Entity);
+}
+
+
+
+
+
void cClientHandle::SendEntHeadLook(const cEntity & a_Entity)
{
ASSERT(a_Entity.GetUniqueID() != m_Player->GetUniqueID()); // Must not send for self