diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-01-05 19:52:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-01-05 19:52:46 +0300 |
commit | a94f1032a7eee07e25664738cb75aca4d90ca2db (patch) | |
tree | 1d9e7340ac4ba51e04b2cd82a5756e7b649562f8 /src/progs/manaplus | |
parent | 4d2e202ee0954f130c8533af3a8dd0fa571e5150 (diff) | |
download | plus-a94f1032a7eee07e25664738cb75aca4d90ca2db.tar.gz plus-a94f1032a7eee07e25664738cb75aca4d90ca2db.tar.bz2 plus-a94f1032a7eee07e25664738cb75aca4d90ca2db.tar.xz plus-a94f1032a7eee07e25664738cb75aca4d90ca2db.zip |
Add support for packets type flag.
For now supported flags for renewal and zero packets.
Diffstat (limited to 'src/progs/manaplus')
-rw-r--r-- | src/progs/manaplus/client.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index b03a16ef6..5946f01d5 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -189,6 +189,10 @@ volatile bool runCounters; bool isSafeMode = false; int serverVersion = 0; int packetVersion = 0; +int packetsType = 0; +bool packets_main = true; +bool packets_re = false; +bool packets_zero = false; unsigned int tmwServerVersion = 0; time_t start_time; unsigned int mLastHost = 0; |