[General] Use placeholder packet ID for unused CellCreate packet

pull/541/head
David Cernat 5 years ago
parent ca67587b89
commit 25e27ccb95

@ -10,7 +10,7 @@ namespace mwmp
public: public:
ProcessorCellCreate() ProcessorCellCreate()
{ {
BPP_INIT(ID_CELL_CREATE) BPP_INIT(ID_PLACEHOLDER)
} }
virtual void Do(WorldstatePacket &packet, Worldstate &worldstate) virtual void Do(WorldstatePacket &packet, Worldstate &worldstate)

@ -108,7 +108,8 @@ enum GameMessages
ID_WORLD_WEATHER, ID_WORLD_WEATHER,
ID_PLAYER_ITEM_USE, ID_PLAYER_ITEM_USE,
ID_PLAYER_CAST ID_PLAYER_CAST,
ID_PLACEHOLDER
}; };
enum OrderingChannel enum OrderingChannel

@ -5,7 +5,7 @@ using namespace mwmp;
PacketCellCreate::PacketCellCreate(RakNet::RakPeerInterface *peer) : WorldstatePacket(peer) PacketCellCreate::PacketCellCreate(RakNet::RakPeerInterface *peer) : WorldstatePacket(peer)
{ {
packetID = ID_CELL_CREATE; packetID = ID_PLACEHOLDER;
orderChannel = CHANNEL_SYSTEM; orderChannel = CHANNEL_SYSTEM;
} }

Loading…
Cancel
Save