diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-01-06 20:22:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-01-06 20:22:35 +0300 |
commit | 79ae444b7e50defd10ae7e331a8f66863b129b51 (patch) | |
tree | eb9808031be811e4887a64f09275d6a9093ffbb5 /src/net/eathena/updateprotocol.cpp | |
parent | 61193b7767d8e1f129c23bed58fa2c553d97b9b9 (diff) | |
download | manaplus-79ae444b7e50defd10ae7e331a8f66863b129b51.tar.gz manaplus-79ae444b7e50defd10ae7e331a8f66863b129b51.tar.bz2 manaplus-79ae444b7e50defd10ae7e331a8f66863b129b51.tar.xz manaplus-79ae444b7e50defd10ae7e331a8f66863b129b51.zip |
Add shuffle packets for main and zero clients.
Diffstat (limited to 'src/net/eathena/updateprotocol.cpp')
-rw-r--r-- | src/net/eathena/updateprotocol.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/net/eathena/updateprotocol.cpp b/src/net/eathena/updateprotocol.cpp index dd5449907..b1848f576 100644 --- a/src/net/eathena/updateprotocol.cpp +++ b/src/net/eathena/updateprotocol.cpp @@ -30,6 +30,8 @@ extern int packetVersion; extern int serverVersion; extern int evolPacketOffset; +extern bool packets_main; +extern bool packets_zero; namespace EAthena { @@ -40,7 +42,8 @@ void updateProtocol() #define PACKETS_UPDATE #include "net/protocoloutupdate.h" #include "net/eathena/packetsout.inc" -#include "net/eathena/packetsout_shuffle.inc" +#include "net/eathena/packetsout_shuffle_main.inc" +#include "net/eathena/packetsout_shuffle_zero.inc" #undef packet Network *const network = Network::mInstance; if (network != nullptr) @@ -52,7 +55,8 @@ void updateProtocol() } PACKETSOUT_VOID -PACKETSOUT_SHUFFLE_VOID +PACKETSOUT_SHUFFLE_MAIN_VOID +PACKETSOUT_SHUFFLE_ZERO_VOID PROTOCOLOUTUPDATE_VOID PROTOCOLOUT_VOID |