diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-06 01:25:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-06 02:11:44 +0300 |
commit | 27bb30a9b4bcdfa45198d89953ac26bee3932708 (patch) | |
tree | b81b920b4b5ebaccc065e9d76928d2c1352c71af | |
parent | ddae1075abc83e1990926de2dc0a6cd3ca58ecea (diff) | |
download | hercules-27bb30a9b4bcdfa45198d89953ac26bee3932708.tar.gz hercules-27bb30a9b4bcdfa45198d89953ac26bee3932708.tar.bz2 hercules-27bb30a9b4bcdfa45198d89953ac26bee3932708.tar.xz hercules-27bb30a9b4bcdfa45198d89953ac26bee3932708.zip |
Add ifdefs for packet limits defines in lclif.p.hs20190123
-rw-r--r-- | src/login/lclif.p.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/login/lclif.p.h b/src/login/lclif.p.h index a80caafa2..0fb94533f 100644 --- a/src/login/lclif.p.h +++ b/src/login/lclif.p.h @@ -31,11 +31,17 @@ /* Definitions and macros */ /// Maximum amount of packets processed at once from the same client +#ifndef MAX_PROCESSED_PACKETS #define MAX_PROCESSED_PACKETS (3) +#endif // Packet DB +#ifndef MIN_PACKET_DB #define MIN_PACKET_DB 0x0064 -#define MAX_PACKET_LOGIN_DB 0x0acf +#endif +#ifndef MAX_PACKET_LOGIN_DB +#define MAX_PACKET_LOGIN_DB 0x0ad0 +#endif /* Enums */ |