From 99abb6720a60a0b36a7c177b7c648ed8c9e81c46 Mon Sep 17 00:00:00 2001 From: DavideRei <118212274+DavideRei@users.noreply.github.com> Date: Sat, 7 Oct 2023 17:14:37 +0200 Subject: [PATCH] Fix PacketDeath to pass the corpse type to the client (#1121) --- src/network/send.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/send.cpp b/src/network/send.cpp index 9971e3e04..a37acdbfa 100644 --- a/src/network/send.cpp +++ b/src/network/send.cpp @@ -3540,12 +3540,12 @@ PacketMessageUNICODE::PacketMessageUNICODE(const CClient* target, const nachar * ***************************************************************************/ PacketDeath::PacketDeath(CChar* dead, CItemCorpse* corpse, bool fFrontFall) : PacketSend(XCMD_CharDeath, 13, PRI_NORMAL) { - UnreferencedParameter(fFrontFall); + //UnreferencedParameter(fFrontFall); ADDTOCALLSTACK("PacketDeath::PacketDeath"); writeInt32(dead->GetUID()); writeInt32(corpse == nullptr ? 0 : (dword)corpse->GetUID()); - writeInt32(0); + writeInt32(fFrontFall); }