summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-08 18:43:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-08 18:43:49 +0300
commit0c1c6b5df196443b18e9e0ef2e9ef3de350a7234 (patch)
treee3f8ff1f0a844fca28c6ddc4af919880cbc2d5ac /src/being
parent4f96bf265375b7ca580f072f5a25c8b4097fb04a (diff)
downloadplus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.gz
plus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.bz2
plus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.xz
plus-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.zip
Fix wrong checks after removing some server features.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 614f43880..ee3213245 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1229,7 +1229,7 @@ void LocalPlayer::statChanged(const AttributesT id,
{
if (!mShowJobExp ||
id != Attributes::PLAYER_JOB ||
- Net::getNetworkType() == ServerType::EATHENA)
+ Net::getNetworkType() != ServerType::TMWATHENA)
{
return;
}
@@ -1252,7 +1252,7 @@ void LocalPlayer::attributeChanged(const AttributesT id,
{
case Attributes::PLAYER_EXP:
{
- if (Net::getNetworkType() == ServerType::EATHENA)
+ if (Net::getNetworkType() != ServerType::TMWATHENA)
break;
if (oldVal > newVal)
break;