diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-06 01:19:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-12 23:24:46 +0300 |
commit | 8e1e7ee7fbf3785d77768ea36e63d4008293b0d0 (patch) | |
tree | 1419414708303abf9f4085e092cb86b9f45ff85e /src | |
parent | 57090ac78ed1b4f867c6c09763e54ac0f8410cf7 (diff) | |
download | hercules-8e1e7ee7fbf3785d77768ea36e63d4008293b0d0.tar.gz hercules-8e1e7ee7fbf3785d77768ea36e63d4008293b0d0.tar.bz2 hercules-8e1e7ee7fbf3785d77768ea36e63d4008293b0d0.tar.xz hercules-8e1e7ee7fbf3785d77768ea36e63d4008293b0d0.zip |
Add ifdefs for packet limits defines in lclif.p.h
Diffstat (limited to 'src')
-rw-r--r-- | src/login/lclif.p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/login/lclif.p.h b/src/login/lclif.p.h index 4c444dbd1..cc9805ea8 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 +#endif +#ifndef MAX_PACKET_LOGIN_DB #define MAX_PACKET_LOGIN_DB 0x0ad0 +#endif /** * Login Client Interface additional data |