diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-01 14:18:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-01 14:18:23 +0300 |
commit | 2c02974d98d94f54b70434202bb2edf4cba8640f (patch) | |
tree | 9a312cdcc1d2e1b7d81d2005aef2d7a3ecdfe9b8 /src/net/eathena | |
parent | d86ad9d847d1898e199ffcb37cb398c6c2b02efc (diff) | |
download | ManaVerse-2c02974d98d94f54b70434202bb2edf4cba8640f.tar.gz ManaVerse-2c02974d98d94f54b70434202bb2edf4cba8640f.tar.bz2 ManaVerse-2c02974d98d94f54b70434202bb2edf4cba8640f.tar.xz ManaVerse-2c02974d98d94f54b70434202bb2edf4cba8640f.zip |
eathena: do not request warp name with evol plugin.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index be55b9147..7689ebc2b 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -215,4 +215,9 @@ bool ServerFeatures::haveMovePet() const return serverVersion >= 5; } +bool ServerFeatures::haveServerWarpNames() const +{ + return serverVersion == 0; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index d9ee23592..eff1cc439 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -105,6 +105,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveTalkPet() const override final; bool haveMovePet() const override final; + + bool haveServerWarpNames() const override final; }; } // namespace EAthena |