forked from mirror/openmw-tes3mp
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);
|
|
}
|