summaryrefslogtreecommitdiff
path: root/src/net/eathena/network.cpp
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/eathena/network.cpp
parent1dfc22f53967ad7e39d42ba8aabe0afa7445476e (diff)
downloadplus-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.gz
plus-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.bz2
plus-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.xz
plus-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.zip
Add version field in each receive packet define.
Diffstat (limited to 'src/net/eathena/network.cpp')
-rw-r--r--src/net/eathena/network.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index 722d7f76b..fc0cd3837 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -116,6 +116,7 @@ void Network::clearHandlers()
mPackets[f].name = "";
mPackets[f].len = 0;
mPackets[f].func = nullptr;
+ mPackets[f].version = 0;
}
}