mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 20:36:42 +00:00
[General] Include actor refIds in ActorDeath packets
This commit is contained in:
parent
8da6a7fd9b
commit
b352983348
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue