diff options
Diffstat (limited to 'src/net/eathena/serverfeatures.cpp')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index e15ea2133..943c6314e 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -24,6 +24,7 @@ #include "debug.h" +extern int serverVersion; extern Net::ServerFeatures *serverFeatures; namespace EAthena @@ -159,4 +160,9 @@ bool ServerFeatures::haveServerVersion() const return Net::getNetworkType() == ServerInfo::EVOL2; } +bool ServerFeatures::haveMapServerVersion() const +{ + return serverVersion > 0; +} + } // namespace EAthena |