summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r--src/gui/windows/statuswindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 26c7acb39..c762084fd 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -121,8 +121,9 @@ StatusWindow::StatusWindow() :
max = PlayerInfo::getAttribute(Attributes::PLAYER_EXP_NEEDED);
mXpBar = new ProgressBar(this,
- max ? static_cast<float>(PlayerInfo::getAttribute(Attributes::PLAYER_EXP))
- / static_cast<float>(max) : static_cast<float>(0),
+ max ?
+ static_cast<float>(PlayerInfo::getAttribute(Attributes::PLAYER_EXP)) /
+ static_cast<float>(max) : static_cast<float>(0),
80,
0,
ProgressColorId::PROG_EXP,