diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-14 21:28:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-14 21:28:25 +0300 |
commit | cf7b983b04733a832faeb2e677f9d4d4c445b69d (patch) | |
tree | 81903eb8311cdb75463b1bfdf995a20a7b89fd11 /src/net | |
parent | 50465eec3e8ad300d2b5df8928cbb99ac4bd6986 (diff) | |
download | plus-cf7b983b04733a832faeb2e677f9d4d4c445b69d.tar.gz plus-cf7b983b04733a832faeb2e677f9d4d4c445b69d.tar.bz2 plus-cf7b983b04733a832faeb2e677f9d4d4c445b69d.tar.xz plus-cf7b983b04733a832faeb2e677f9d4d4c445b69d.zip |
Drop support for evol plugin 1 - 3 versions.
Version 4 was commited at Jan 4 2015.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index 6f031681e..238b728e9 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -82,12 +82,12 @@ bool ServerFeatures::haveIncompleteChatMessages() const bool ServerFeatures::haveRaceSelection() const { - return serverVersion >= 4; + return serverVersion > 0; } bool ServerFeatures::haveLookSelection() const { - return serverVersion >= 4; + return serverVersion > 0; } bool ServerFeatures::haveChatChannels() const @@ -102,7 +102,7 @@ bool ServerFeatures::haveServerIgnore() const bool ServerFeatures::haveMove3() const { - return serverVersion >= 3; + return serverVersion > 0; } bool ServerFeatures::haveItemColors() const @@ -127,12 +127,12 @@ bool ServerFeatures::haveMonsterAttackRange() const bool ServerFeatures::haveEmailOnRegister() const { - return serverVersion >= 2; + return serverVersion > 0; } bool ServerFeatures::haveEmailOnDelete() const { - return serverVersion >= 2; + return serverVersion > 0; } bool ServerFeatures::haveEightDirections() const @@ -167,12 +167,12 @@ bool ServerFeatures::haveMapServerVersion() const bool ServerFeatures::haveNpcGender() const { - return serverVersion >= 3; + return serverVersion > 0; } bool ServerFeatures::haveJoinChannel() const { - return serverVersion >= 3; + return serverVersion > 0; } bool ServerFeatures::haveNpcWhispers() const @@ -182,7 +182,7 @@ bool ServerFeatures::haveNpcWhispers() const bool ServerFeatures::haveCreateCharGender() const { - return serverVersion >= 4; + return serverVersion > 0; } bool ServerFeatures::haveAttackDirections() const |