forked from mirror/openmw-tes3mp
Build fix
This commit is contained in:
parent
c27351c19e
commit
77257b0721
2 changed files with 4 additions and 4 deletions
|
@ -8,14 +8,14 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace mwmp;
|
using namespace mwmp;
|
||||||
|
|
||||||
PacketInventory::PacketInventory(RakNet::RakPeerInterface *peer) : BasePacket(peer)
|
PacketInventory::PacketInventory(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
||||||
{
|
{
|
||||||
packetID = ID_GAME_INVENTORY;
|
packetID = ID_GAME_INVENTORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PacketInventory::Packet(RakNet::BitStream *bs, BasePlayer *player, bool send)
|
void PacketInventory::Packet(RakNet::BitStream *bs, BasePlayer *player, bool send)
|
||||||
{
|
{
|
||||||
BasePacket::Packet(bs, player, send);
|
PlayerPacket::Packet(bs, player, send);
|
||||||
|
|
||||||
RW(player->inventory.action, send);
|
RW(player->inventory.action, send);
|
||||||
if (!send)
|
if (!send)
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
#ifndef OPENMW_PACKETINVENTORY_HPP
|
#ifndef OPENMW_PACKETINVENTORY_HPP
|
||||||
#define OPENMW_PACKETINVENTORY_HPP
|
#define OPENMW_PACKETINVENTORY_HPP
|
||||||
|
|
||||||
#include <components/openmw-mp/Packets/BasePacket.hpp>
|
#include <components/openmw-mp/Packets/PlayerPacket.hpp>
|
||||||
|
|
||||||
namespace mwmp
|
namespace mwmp
|
||||||
{
|
{
|
||||||
class PacketInventory : public BasePacket
|
class PacketInventory : public PlayerPacket
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PacketInventory(RakNet::RakPeerInterface *peer);
|
PacketInventory(RakNet::RakPeerInterface *peer);
|
||||||
|
|
Loading…
Reference in a new issue