summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-25 19:55:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-25 19:55:16 +0300
commit6afbd218f72684241e34e3561c900f41a5542010 (patch)
tree82050ce2d6bb8e8ff5c7f0cfe4568fb5e49a8675 /src/gui/windows/statuswindow.cpp
parent2c1a20a6abe784ac6bcb72b9b961db6b8567bd32 (diff)
downloadmanaverse-6afbd218f72684241e34e3561c900f41a5542010.tar.gz
manaverse-6afbd218f72684241e34e3561c900f41a5542010.tar.bz2
manaverse-6afbd218f72684241e34e3561c900f41a5542010.tar.xz
manaverse-6afbd218f72684241e34e3561c900f41a5542010.zip
Fix too big lines.
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,