diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index e81fe7def..7068638fa 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -164,4 +164,9 @@ bool ServerFeatures::haveMapServerVersion() const return false; } +bool ServerFeatures::haveNpcGender() const +{ + return serverVersion > 0; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 58c7aa5bd..7a449b268 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -85,6 +85,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveServerVersion() const override final; bool haveMapServerVersion() const override final; + + bool haveNpcGender() const override final; }; } // namespace TmwAthena |