From cf7b983b04733a832faeb2e677f9d4d4c445b69d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Mar 2016 21:28:25 +0300 Subject: Drop support for evol plugin 1 - 3 versions. Version 4 was commited at Jan 4 2015. --- src/net/eathena/serverfeatures.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/net/eathena/serverfeatures.cpp') 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 -- cgit v1.2.3-70-g09d2