From ecd5c5f9206437c320da029680cf1d053b644761 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 10 Aug 2011 21:43:40 +0200 Subject: Clients inform server on wielded item This is done with the new TOSERVER_PLAYERITEM message, that informs the server on the index of the wielded item. --- src/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index d21764f75..963eb6702 100644 --- a/src/client.h +++ b/src/client.h @@ -318,6 +318,8 @@ private: void sendPlayerPos(); // This sends the player's current name etc to the server void sendPlayerInfo(); + // Send the item number 'item' as player item to the server + void sendPlayerItem(u16 item); float m_packetcounter_timer; float m_connection_reinit_timer; -- cgit v1.2.3