diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-05 12:37:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-05 12:37:56 +0300 |
commit | d6b23a77f5421fd73a01a482ca67109c9666a72e (patch) | |
tree | 5bf34c9601224ff7d7d16ed0bb63dbd057231bc2 /src/net/eathena | |
parent | d852298dad5a6703b78098b08bf918f886feb98e (diff) | |
download | manaverse-d6b23a77f5421fd73a01a482ca67109c9666a72e.tar.gz manaverse-d6b23a77f5421fd73a01a482ca67109c9666a72e.tar.bz2 manaverse-d6b23a77f5421fd73a01a482ca67109c9666a72e.tar.xz manaverse-d6b23a77f5421fd73a01a482ca67109c9666a72e.zip |
Add server feature haveCreateCharGender.
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 1112f5c0c..8cf172d20 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -185,4 +185,9 @@ bool ServerFeatures::haveNpcWhispers() const return true; } +bool ServerFeatures::haveCreateCharGender() const +{ + return serverVersion >= 4; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 05e378b83..d91373322 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -93,6 +93,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveJoinChannel() const override final; bool haveNpcWhispers() const override final; + + bool haveCreateCharGender() const override final; }; } // namespace EAthena |