From 646abbe93193cc2c3cf0903df0a25a6dcc752ccc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Jul 2016 02:16:19 +0300 Subject: Drop support for Hercules plugin version 5. --- src/net/eathena/serverfeatures.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index e8abbfdcf..40916a4bf 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -37,7 +37,7 @@ ServerFeatures::ServerFeatures() bool ServerFeatures::haveServerOnlineList() const { - return serverVersion >= 5; + return serverVersion > 0; } bool ServerFeatures::haveOnlineList() const @@ -62,7 +62,7 @@ bool ServerFeatures::haveServerHp() const bool ServerFeatures::havePlayerStatusUpdate() const { - return serverVersion >= 5; + return serverVersion > 0; } bool ServerFeatures::haveBrokenPlayerAttackDistance() const @@ -202,12 +202,12 @@ bool ServerFeatures::haveCart() const bool ServerFeatures::haveTalkPet() const { - return serverVersion >= 5; + return serverVersion > 0; } bool ServerFeatures::haveMovePet() const { - return serverVersion >= 5; + return serverVersion > 0; } bool ServerFeatures::haveServerWarpNames() const -- cgit v1.2.3-70-g09d2