[General] Include actor refIds in ActorDeath packets

This commit is contained in:
David Cernat 2019-11-27 11:18:08 +02:00
parent 8da6a7fd9b
commit b352983348

View File

@ -11,6 +11,8 @@ PacketActorDeath::PacketActorDeath(RakNet::RakPeerInterface *peer) : ActorPacket
void PacketActorDeath::Actor(BaseActor &actor, bool send)
{
RW(actor.refId, send);
RW(actor.killer.isPlayer, send);
if (actor.killer.isPlayer)