summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 21:26:09 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 21:26:09 +0300
commita173e97258d7ac20fcfa8745ea772d2ba56b9d68 (patch)
treebba93729054b42ec3e7b16410470f9d918d345d8 /src/being
parente82f8ed2976b6b6412ab66329e0794225e2030e7 (diff)
downloadplus-a173e97258d7ac20fcfa8745ea772d2ba56b9d68.tar.gz
plus-a173e97258d7ac20fcfa8745ea772d2ba56b9d68.tar.bz2
plus-a173e97258d7ac20fcfa8745ea772d2ba56b9d68.tar.xz
plus-a173e97258d7ac20fcfa8745ea772d2ba56b9d68.zip
Remove ServerFeatures haveExpPacket because it depend only on server type.
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 df69ffb38..bf1167b5e 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1231,7 +1231,7 @@ void LocalPlayer::statChanged(const AttributesT id,
{
if (!mShowJobExp ||
id != Attributes::PLAYER_JOB ||
- serverFeatures->haveExpPacket())
+ Net::getNetworkType() == ServerType::EATHENA)
{
return;
}
@@ -1254,7 +1254,7 @@ void LocalPlayer::attributeChanged(const AttributesT id,
{
case Attributes::PLAYER_EXP:
{
- if (serverFeatures->haveExpPacket())
+ if (Net::getNetworkType() == ServerType::EATHENA)
break;
if (oldVal > newVal)
break;