summaryrefslogtreecommitdiff
path: root/src/net/eathena/updateprotocol.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-06 20:22:35 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-06 20:22:35 +0300
commit79ae444b7e50defd10ae7e331a8f66863b129b51 (patch)
treeeb9808031be811e4887a64f09275d6a9093ffbb5 /src/net/eathena/updateprotocol.cpp
parent61193b7767d8e1f129c23bed58fa2c553d97b9b9 (diff)
downloadplus-79ae444b7e50defd10ae7e331a8f66863b129b51.tar.gz
plus-79ae444b7e50defd10ae7e331a8f66863b129b51.tar.bz2
plus-79ae444b7e50defd10ae7e331a8f66863b129b51.tar.xz
plus-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.cpp8
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