mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 10:19:55 +00:00
23684489da
Converting integer literal to bool, use bool literal instead
17 lines
440 B
C++
17 lines
440 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketActorAuthority.hpp"
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketActorAuthority::PacketActorAuthority(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
|
|
{
|
|
packetID = ID_ACTOR_AUTHORITY;
|
|
}
|
|
|
|
void PacketActorAuthority::Packet(RakNet::BitStream *bs, bool send)
|
|
{
|
|
BasePacket::Packet(bs, send);
|
|
|
|
RW(actorList->cell.mData, send, true);
|
|
RW(actorList->cell.mName, send, true);
|
|
}
|