diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/attrs/changedisplay.cpp | 3 |
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); } |