summaryrefslogtreecommitdiff
path: root/src/gui/widgets/attrs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 01:47:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 01:47:44 +0300
commitddf3a130e1db0417d2dad77f69d6aa95028024d6 (patch)
treecf40b5a2d124612572507855b154fde4305646c9 /src/gui/widgets/attrs
parent3a360e0ae954df7cc467ea76ed9022fd520497d7 (diff)
downloadplus-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.gz
plus-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.bz2
plus-ddf3a130e1db0417d2dad77f69d6aa95028024d6.tar.xz
plus-ddf3a130e1db0417d2dad77f69d6aa95028024d6.zip
Remove default parameter from PlayerInfo::setAttribute.
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 e1af1eb76..213abc3d5 100644
--- a/src/gui/widgets/attrs/changedisplay.cpp
+++ b/src/gui/widgets/attrs/changedisplay.cpp
@@ -97,7 +97,8 @@ void ChangeDisplay::action(const ActionEvent &event)
const int newpoints = PlayerInfo::getAttribute(
Attributes::PLAYER_CHAR_POINTS) - cnt;
PlayerInfo::setAttribute(Attributes::PLAYER_CHAR_POINTS,
- newpoints);
+ newpoints,
+ Notify_true);
const int newbase = PlayerInfo::getStatBase(mId) + cnt;
PlayerInfo::setStatBase(mId, newbase);