summaryrefslogtreecommitdiff
path: root/src/gui/widgets/attrs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 22:32:09 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 22:32:09 +0300
commit570f7c9b66f9d0a11b7845a4c4d3bea0b7b7b628 (patch)
tree81988a57a1b7a1d55e324b57d1e4c00a9de82d5b /src/gui/widgets/attrs
parent3f5599082b5543a7f1c6a7bf3d631ac3805acc23 (diff)
downloadmv-570f7c9b66f9d0a11b7845a4c4d3bea0b7b7b628.tar.gz
mv-570f7c9b66f9d0a11b7845a4c4d3bea0b7b7b628.tar.bz2
mv-570f7c9b66f9d0a11b7845a4c4d3bea0b7b7b628.tar.xz
mv-570f7c9b66f9d0a11b7845a4c4d3bea0b7b7b628.zip
Remove ServerFeatures haveMultyStatusUp because it depend only on server type.
Diffstat (limited to 'src/gui/widgets/attrs')
-rw-r--r--src/gui/widgets/attrs/changedisplay.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/attrs/changedisplay.cpp b/src/gui/widgets/attrs/changedisplay.cpp
index 96a6a04d3..1f55563e4 100644
--- a/src/gui/widgets/attrs/changedisplay.cpp
+++ b/src/gui/widgets/attrs/changedisplay.cpp
@@ -30,6 +30,7 @@
#include "gui/widgets/containerplacer.h"
#include "gui/widgets/layouthelper.h"
+#include "net/net.h"
#include "net/playerhandler.h"
#include "net/serverfeatures.h"
@@ -102,7 +103,7 @@ void ChangeDisplay::action(const ActionEvent &event)
const int newbase = PlayerInfo::getStatBase(mId) + cnt;
PlayerInfo::setStatBase(mId, newbase);
- if (serverFeatures->haveMultyStatusUp())
+ if (Net::getNetworkType() == ServerType::EATHENA)
{
playerHandler->increaseAttribute(mId, cnt);
}