summaryrefslogtreecommitdiff
path: root/src/net/tmwa/serverfeatures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r--src/net/tmwa/serverfeatures.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 547803354..aeb514bb1 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -23,6 +23,7 @@
#include "debug.h"
extern int serverVersion;
+extern int tmwServerVersion;
extern Net::ServerFeatures *serverFeatures;
namespace TmwAthena
@@ -48,4 +49,9 @@ bool ServerFeatures::haveChangePartyLeader() const
return false;
}
+bool ServerFeatures::haveServerHp() const
+{
+ return serverVersion > 0 || tmwServerVersion >= 0x0E0701;
+}
+
} // namespace TmwAthena