summaryrefslogtreecommitdiff
path: root/src/net/protocoloutdefine.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-13 00:40:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-13 00:40:44 +0300
commitc28cd5ffb1ca37a3a6d5ee0a73828dcd092db7f1 (patch)
tree414bd0a0e2cfee87e9d57857d071edcf92a7974a /src/net/protocoloutdefine.h
parent906331c5a512e54424b148a2a89590bc03a704ff (diff)
downloadplus-c28cd5ffb1ca37a3a6d5ee0a73828dcd092db7f1.tar.gz
plus-c28cd5ffb1ca37a3a6d5ee0a73828dcd092db7f1.tar.bz2
plus-c28cd5ffb1ca37a3a6d5ee0a73828dcd092db7f1.tar.xz
plus-c28cd5ffb1ca37a3a6d5ee0a73828dcd092db7f1.zip
Add offset for all defined evol packets.
For now offset always 0.
Diffstat (limited to 'src/net/protocoloutdefine.h')
-rw-r--r--src/net/protocoloutdefine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/protocoloutdefine.h b/src/net/protocoloutdefine.h
index 5b213249f..b8ab72064 100644
--- a/src/net/protocoloutdefine.h
+++ b/src/net/protocoloutdefine.h
@@ -22,6 +22,7 @@
#define NET_PROTOCOLOUTDEFINE_H
#define packet(name, id, sz, comment) int name = id
+#define packet2(name, id, sz, comment) int name = id + evolPacketOffset
#define PROTOCOLOUT_VOID
#endif // NET_PROTOCOLOUTDEFINE_H