diff --git a/components/openmw-mp/Packets/PacketInventory.cpp b/components/openmw-mp/Packets/PacketInventory.cpp index ece0e3697..867e8e135 100644 --- a/components/openmw-mp/Packets/PacketInventory.cpp +++ b/components/openmw-mp/Packets/PacketInventory.cpp @@ -8,14 +8,14 @@ using namespace std; using namespace mwmp; -PacketInventory::PacketInventory(RakNet::RakPeerInterface *peer) : BasePacket(peer) +PacketInventory::PacketInventory(RakNet::RakPeerInterface *peer) : PlayerPacket(peer) { packetID = ID_GAME_INVENTORY; } 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); if (!send) diff --git a/components/openmw-mp/Packets/PacketInventory.hpp b/components/openmw-mp/Packets/PacketInventory.hpp index 88ff97f11..24cf66b62 100644 --- a/components/openmw-mp/Packets/PacketInventory.hpp +++ b/components/openmw-mp/Packets/PacketInventory.hpp @@ -5,11 +5,11 @@ #ifndef OPENMW_PACKETINVENTORY_HPP #define OPENMW_PACKETINVENTORY_HPP -#include +#include namespace mwmp { - class PacketInventory : public BasePacket + class PacketInventory : public PlayerPacket { public: PacketInventory(RakNet::RakPeerInterface *peer);