diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-08 18:43:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-08 18:43:49 +0300 |
commit | 0c1c6b5df196443b18e9e0ef2e9ef3de350a7234 (patch) | |
tree | e3f8ff1f0a844fca28c6ddc4af919880cbc2d5ac /src/gui/widgets/attrs | |
parent | 4f96bf265375b7ca580f072f5a25c8b4097fb04a (diff) | |
download | mv-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.gz mv-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.bz2 mv-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.tar.xz mv-0c1c6b5df196443b18e9e0ef2e9ef3de350a7234.zip |
Fix wrong checks after removing some server features.
Diffstat (limited to 'src/gui/widgets/attrs')
-rw-r--r-- | src/gui/widgets/attrs/changedisplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/attrs/changedisplay.cpp b/src/gui/widgets/attrs/changedisplay.cpp index fead88dcd..e1af1eb76 100644 --- a/src/gui/widgets/attrs/changedisplay.cpp +++ b/src/gui/widgets/attrs/changedisplay.cpp @@ -102,7 +102,7 @@ void ChangeDisplay::action(const ActionEvent &event) const int newbase = PlayerInfo::getStatBase(mId) + cnt; PlayerInfo::setStatBase(mId, newbase); - if (Net::getNetworkType() == ServerType::EATHENA) + if (Net::getNetworkType() != ServerType::TMWATHENA) { playerHandler->increaseAttribute(mId, cnt); } |