forked from teamnwah/openmw-tes3coop
Init PacketLoaded in PacketsController
This commit is contained in:
parent
1e48555617
commit
9bcca6d141
2 changed files with 3 additions and 1 deletions
|
@ -31,6 +31,7 @@ enum GameMessages
|
||||||
ID_GAME_CHARCLASS,
|
ID_GAME_CHARCLASS,
|
||||||
ID_GAME_SKILLPRIORITY,
|
ID_GAME_SKILLPRIORITY,
|
||||||
ID_HANDSHAKE,
|
ID_HANDSHAKE,
|
||||||
|
ID_LOADED,
|
||||||
ID_GUI_MESSAGEBOX,
|
ID_GUI_MESSAGEBOX,
|
||||||
ID_GAME_TIME
|
ID_GAME_TIME
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#include "Packets/PacketHandshake.hpp"
|
#include "Packets/PacketHandshake.hpp"
|
||||||
#include "Packets/PacketGUIBoxes.hpp"
|
#include "Packets/PacketGUIBoxes.hpp"
|
||||||
#include "Packets/PacketTime.hpp"
|
#include "Packets/PacketTime.hpp"
|
||||||
|
#include "Packets/PacketLoaded.hpp"
|
||||||
|
|
||||||
#include "PacketsController.hpp"
|
#include "PacketsController.hpp"
|
||||||
|
|
||||||
|
@ -61,7 +62,7 @@ mwmp::PacketsController::PacketsController(RakNet::RakPeerInterface *peer)
|
||||||
AddPacket<PacketGUIBoxes>(&packets, peer);
|
AddPacket<PacketGUIBoxes>(&packets, peer);
|
||||||
AddPacket<PacketClass>(&packets, peer);
|
AddPacket<PacketClass>(&packets, peer);
|
||||||
AddPacket<PacketTime>(&packets, peer);
|
AddPacket<PacketTime>(&packets, peer);
|
||||||
|
AddPacket<PacketLoaded>(&packets, peer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue