From ddf3a130e1db0417d2dad77f69d6aa95028024d6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 01:47:44 +0300 Subject: Remove default parameter from PlayerInfo::setAttribute. --- src/gui/widgets/attrs/changedisplay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/attrs/changedisplay.cpp') 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); -- cgit v1.2.3-60-g2f50