summaryrefslogtreecommitdiff
path: root/src/net/protocolindefine.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-31 23:14:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-31 23:20:59 +0300
commit9b06b6b56522f23eb3752d3a1e099c75ba130fc9 (patch)
tree927d237f5a4ee212d0f407e891ff556f36358bc6 /src/net/protocolindefine.h
parent1dfc22f53967ad7e39d42ba8aabe0afa7445476e (diff)
downloadmanaplus-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.gz
manaplus-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.bz2
manaplus-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.xz
manaplus-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.zip
Add version field in each receive packet define.
Diffstat (limited to 'src/net/protocolindefine.h')
-rw-r--r--src/net/protocolindefine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/protocolindefine.h b/src/net/protocolindefine.h
index 521b8bb38..13a6a3e02 100644
--- a/src/net/protocolindefine.h
+++ b/src/net/protocolindefine.h
@@ -21,6 +21,6 @@
#ifndef NET_PROTOCOLINDEFINE_H
#define NET_PROTOCOLINDEFINE_H
-#define packet(name, id, sz, func) static const int name = id
+#define packet(name, id, sz, func, ver) static const int name = id
#endif // NET_PROTOCOLINDEFINE_H