mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
[General] Include actor refIds in ActorDeath packets
This commit is contained in:
parent
8da6a7fd9b
commit
b352983348
@ -11,6 +11,8 @@ PacketActorDeath::PacketActorDeath(RakNet::RakPeerInterface *peer) : ActorPacket
|
|||||||
|
|
||||||
void PacketActorDeath::Actor(BaseActor &actor, bool send)
|
void PacketActorDeath::Actor(BaseActor &actor, bool send)
|
||||||
{
|
{
|
||||||
|
RW(actor.refId, send);
|
||||||
|
|
||||||
RW(actor.killer.isPlayer, send);
|
RW(actor.killer.isPlayer, send);
|
||||||
|
|
||||||
if (actor.killer.isPlayer)
|
if (actor.killer.isPlayer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user