From c4f43cd8ec0d31705aef105c9b2bb0c26f976bf6 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sun, 26 Aug 2018 15:52:39 +0100 Subject: Store and pass entity effect duration as an int not a short. (#4293) Fixes #4292. --- src/Protocol/Protocol_1_9.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/Protocol/Protocol_1_9.h') diff --git a/src/Protocol/Protocol_1_9.h b/src/Protocol/Protocol_1_9.h index a7111436b..ee29775f1 100644 --- a/src/Protocol/Protocol_1_9.h +++ b/src/Protocol/Protocol_1_9.h @@ -70,7 +70,7 @@ public: virtual void SendDetachEntity (const cEntity & a_Entity, const cEntity & a_PreviousVehicle) override; virtual void SendDisconnect (const AString & a_Reason) override; virtual void SendEditSign (int a_BlockX, int a_BlockY, int a_BlockZ) override; ///< Request the client to open up the sign editor for the sign (1.6+) - virtual void SendEntityEffect (const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration) override; + virtual void SendEntityEffect (const cEntity & a_Entity, int a_EffectID, int a_Amplifier, int a_Duration) override; virtual void SendEntityEquipment (const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item) override; virtual void SendEntityHeadLook (const cEntity & a_Entity) override; virtual void SendEntityLook (const cEntity & a_Entity) override; @@ -355,7 +355,3 @@ protected: virtual UInt32 GetPacketId(eOutgoingPackets a_Packet) override; } ; - - - - -- cgit v1.2.3