summaryrefslogtreecommitdiff
path: root/src/net/eathena/serverfeatures.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-21 02:16:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-21 02:16:19 +0300
commit646abbe93193cc2c3cf0903df0a25a6dcc752ccc (patch)
tree934ffe0d10f80f095e8d99e3b82f7eddbb237eb3 /src/net/eathena/serverfeatures.cpp
parent1c7ee57d43fef641ac5e7fc2e6e4ff06bddf56b4 (diff)
downloadmanaverse-646abbe93193cc2c3cf0903df0a25a6dcc752ccc.tar.gz
manaverse-646abbe93193cc2c3cf0903df0a25a6dcc752ccc.tar.bz2
manaverse-646abbe93193cc2c3cf0903df0a25a6dcc752ccc.tar.xz
manaverse-646abbe93193cc2c3cf0903df0a25a6dcc752ccc.zip
Drop support for Hercules plugin version 5.
Diffstat (limited to 'src/net/eathena/serverfeatures.cpp')
-rw-r--r--src/net/eathena/serverfeatures.cpp8
1 files changed, 4 insertions, 4 deletions
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