diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-05-17 16:59:59 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-05-17 16:59:59 -0400 |
commit | 48021640ce0e76f1dfd7527b88fa33f2b74f4909 (patch) | |
tree | 8d1fcabdd4dd2c7b47da1a34b72490a8f19b867b /src/char/char.hpp | |
parent | 87f9bae4da0314e97f1a3e38513960998ee4d05d (diff) | |
download | tmwa-48021640ce0e76f1dfd7527b88fa33f2b74f4909.tar.gz tmwa-48021640ce0e76f1dfd7527b88fa33f2b74f4909.tar.bz2 tmwa-48021640ce0e76f1dfd7527b88fa33f2b74f4909.tar.xz tmwa-48021640ce0e76f1dfd7527b88fa33f2b74f4909.zip |
reject very old manaplus versions
Diffstat (limited to 'src/char/char.hpp')
-rw-r--r-- | src/char/char.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/char/char.hpp b/src/char/char.hpp index 049875b..8adac4d 100644 --- a/src/char/char.hpp +++ b/src/char/char.hpp @@ -42,6 +42,9 @@ std::chrono::seconds DEFAULT_AUTOSAVE_INTERVAL = 5_min; constexpr GmLevel default_gm_level = GmLevel::from(0_u32); +// increase the min version when the protocol is incompatible with old m+ versions +#define MIN_CLIENT_VERSION 1 + struct AuthFifoEntry { AccountId account_id; |