diff options
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/statuswindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index 80a65b1fd..0915429f9 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -126,7 +126,7 @@ class ChangeDisplay final : public AttrDisplay, gcn::ActionListener Type getType() const override { return CHANGEABLE; } - void setPointsNeeded(int needed); + void setPointsNeeded(const int needed); void action(const gcn::ActionEvent &event) override; diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h index 5acccd9ff..8748e3feb 100644 --- a/src/gui/windows/statuswindow.h +++ b/src/gui/windows/statuswindow.h @@ -67,7 +67,7 @@ class StatusWindow final : public Window, static void updateHPBar(ProgressBar *const bar, const bool showMax = false); - static void updateMPBar(ProgressBar *bar, bool showMax = false); + static void updateMPBar(ProgressBar *bar, const bool showMax = false); static void updateJobBar(ProgressBar *const bar, const bool percent = true); static void updateXPBar(ProgressBar *const bar, |