Skip to content

Commit

Permalink
Fix PacketDeath to pass the corpse type to the client (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideRei authored Oct 7, 2023
1 parent 62167fc commit 99abb67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/send.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 99abb67

Please sign in to comment.