summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-19 19:13:38 -0400
committerAndrei Karas <akaras@inbox.ru>2015-05-20 20:16:16 +0300
commit7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3 (patch)
tree6001a9480de9bf1b7741238f6eb0de9286190d1f /src
parenta7265913b3297c8b72db5683152d466bf2ffd340 (diff)
downloadplus-7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3.tar.gz
plus-7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3.tar.bz2
plus-7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3.tar.xz
plus-7cf37cfedf413d5581f6d6eca4e9b1bd11e1c7b3.zip
update serverfeatures for tmwa.
Diffstat (limited to 'src')
-rw-r--r--src/net/tmwa/serverfeatures.cpp6
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