diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-05-19 19:13:38 -0400 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-20 20:16:16 +0300 |
commit | 7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3 (patch) | |
tree | 6001a9480de9bf1b7741238f6eb0de9286190d1f /src/net/tmwa/serverfeatures.cpp | |
parent | a7265913b3297c8b72db5683152d466bf2ffd340 (diff) | |
download | plus-7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3.tar.gz plus-7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3.tar.bz2 plus-7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3.tar.xz plus-7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3.zip |
update serverfeatures for tmwa.
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 479d0fee8..e903d92dd 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -56,7 +56,7 @@ bool ServerFeatures::haveChangePartyLeader() const bool ServerFeatures::haveServerHp() const { - return serverVersion > 0; + return serverVersion > 0 || tmwServerVersion >= 0x0f0513; } bool ServerFeatures::haveLangTab() const @@ -126,7 +126,7 @@ bool ServerFeatures::haveOtherGender() const bool ServerFeatures::haveMonsterAttackRange() const { - return serverVersion > 0; + return serverVersion > 0 || tmwServerVersion >= 0x0f0513; } bool ServerFeatures::haveEmailOnRegister() const @@ -171,7 +171,7 @@ bool ServerFeatures::haveMapServerVersion() const bool ServerFeatures::haveNpcGender() const { - return serverVersion > 0; + return serverVersion > 0 || tmwServerVersion >= 0x0f0513; } bool ServerFeatures::haveJoinChannel() const |