[General] Use placeholder packet ID for unused CellCreate packet

This commit is contained in:
David Cernat 2019-09-09 10:22:20 +03:00
parent ca67587b89
commit 25e27ccb95
3 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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

View File

@ -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;
} }