summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-14 21:28:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-14 21:28:25 +0300
commitcf7b983b04733a832faeb2e677f9d4d4c445b69d (patch)
tree81903eb8311cdb75463b1bfdf995a20a7b89fd11
parent50465eec3e8ad300d2b5df8928cbb99ac4bd6986 (diff)
downloadmanaplus-cf7b983b04733a832faeb2e677f9d4d4c445b69d.tar.gz
manaplus-cf7b983b04733a832faeb2e677f9d4d4c445b69d.tar.bz2
manaplus-cf7b983b04733a832faeb2e677f9d4d4c445b69d.tar.xz
manaplus-cf7b983b04733a832faeb2e677f9d4d4c445b69d.zip
Drop support for evol plugin 1 - 3 versions.
Version 4 was commited at Jan 4 2015.
-rw-r--r--src/net/eathena/serverfeatures.cpp16
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