diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-20 18:23:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-20 18:23:36 +0300 |
commit | 732974f50a87db565b138cd0027686ed4b82228b (patch) | |
tree | a332131f270b21287ca94de0457a33ea533c990b | |
parent | cf2a41b8a691e3ecfeef8289cb0a21989ceac882 (diff) | |
download | manaplus-732974f50a87db565b138cd0027686ed4b82228b.tar.gz manaplus-732974f50a87db565b138cd0027686ed4b82228b.tar.bz2 manaplus-732974f50a87db565b138cd0027686ed4b82228b.tar.xz manaplus-732974f50a87db565b138cd0027686ed4b82228b.zip |
Remove all left evol server version checks from tmwa.
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 928740281..342f594af 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -111,17 +111,17 @@ bool ServerFeatures::haveItemColors() const bool ServerFeatures::haveOtherGender() const { - return serverVersion >= 5; + return false; } bool ServerFeatures::haveMonsterAttackRange() const { - return serverVersion > 0 || tmwServerVersion >= 0x0f0513; + return tmwServerVersion >= 0x0f0513; } bool ServerFeatures::haveEmailOnRegister() const { - return serverVersion >= 7; + return false; } bool ServerFeatures::haveEmailOnDelete() const @@ -161,7 +161,7 @@ bool ServerFeatures::haveMapServerVersion() const bool ServerFeatures::haveNpcGender() const { - return serverVersion > 0 || tmwServerVersion >= 0x0f0513; + return tmwServerVersion >= 0x0f0513; } bool ServerFeatures::haveJoinChannel() const |