diff --git a/components/openmw-mp/Packets/Actor/PacketActorAttack.cpp b/components/openmw-mp/Packets/Actor/PacketActorAttack.cpp index ce318fc77..4ce20c026 100644 --- a/components/openmw-mp/Packets/Actor/PacketActorAttack.cpp +++ b/components/openmw-mp/Packets/Actor/PacketActorAttack.cpp @@ -33,13 +33,13 @@ void PacketActorAttack::Actor(BaseActor &actor, bool send) if (actor.attack.type == mwmp::Attack::MELEE) { - RW(actor.attack.attackAnimation, send); + RW(actor.attack.attackAnimation, send, true); } else if (actor.attack.type == mwmp::Attack::RANGED) { RW(actor.attack.attackStrength, send); - RW(actor.attack.rangedWeaponId, send); - RW(actor.attack.rangedAmmoId, send); + RW(actor.attack.rangedWeaponId, send, true); + RW(actor.attack.rangedAmmoId, send, true); } if (actor.attack.isHit) diff --git a/components/openmw-mp/Packets/Player/PacketPlayerAttack.cpp b/components/openmw-mp/Packets/Player/PacketPlayerAttack.cpp index 092f10170..dd5a21674 100644 --- a/components/openmw-mp/Packets/Player/PacketPlayerAttack.cpp +++ b/components/openmw-mp/Packets/Player/PacketPlayerAttack.cpp @@ -34,13 +34,13 @@ void PacketPlayerAttack::Packet(RakNet::BitStream *bs, bool send) if (player->attack.type == mwmp::Attack::MELEE) { - RW(player->attack.attackAnimation, send); + RW(player->attack.attackAnimation, send, true); } else if (player->attack.type == mwmp::Attack::RANGED) { RW(player->attack.attackStrength, send); - RW(player->attack.rangedWeaponId, send); - RW(player->attack.rangedAmmoId, send); + RW(player->attack.rangedWeaponId, send, true); + RW(player->attack.rangedAmmoId, send, true); } if (player->attack.isHit)