diff options
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 8a45b0d6d..772d8ad6c 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1119,6 +1119,12 @@ void cClientHandle::HandleLeftClick(int a_BlockX, int a_BlockY, int a_BlockZ, eB return; } + case DIG_STATUS_SWAP_ITEM_IN_HAND: + { + // TODO: Not yet implemented + return; + } + default: { ASSERT(!"Unhandled DIG_STATUS"); @@ -2095,7 +2101,7 @@ void cClientHandle::ServerTick(float a_Dt) -void cClientHandle::SendAttachEntity(const cEntity & a_Entity, const cEntity * a_Vehicle) +void cClientHandle::SendAttachEntity(const cEntity & a_Entity, const cEntity & a_Vehicle) { m_Protocol->SendAttachEntity(a_Entity, a_Vehicle); } @@ -2319,6 +2325,15 @@ void cClientHandle::SendDestroyEntity(const cEntity & a_Entity) +void cClientHandle::SendDetachEntity(const cEntity & a_Entity, const cEntity & a_PreviousVehicle) +{ + m_Protocol->SendDetachEntity(a_Entity, a_PreviousVehicle); +} + + + + + void cClientHandle::SendDisconnect(const AString & a_Reason) { // Destruction (Destroy()) is called when the client disconnects, not when a disconnect packet (or anything else) is sent |