diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-03-30 21:24:36 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-03-30 21:24:36 +0000 |
commit | 67eb506ca36749d40d9af3a22c32524a3566370c (patch) | |
tree | a5c85bfefc063a30b67410a68502f9757564f0d4 /src/gui/windows/statuswindow.cpp | |
parent | a99e41b95064f4c4c61591454916542aa6491795 (diff) | |
download | manaplus-67eb506ca36749d40d9af3a22c32524a3566370c.tar.gz manaplus-67eb506ca36749d40d9af3a22c32524a3566370c.tar.bz2 manaplus-67eb506ca36749d40d9af3a22c32524a3566370c.tar.xz manaplus-67eb506ca36749d40d9af3a22c32524a3566370c.zip |
Add free weight indication to mini status bar
Squashed with:
* statuswindow: I like this way better
****
mana/plus!151
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index 04e12e384..95f76449f 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -519,8 +519,8 @@ void StatusWindow::updateWeightBar(ProgressBar *const bar) } else { - const int totalWeight = PlayerInfo::getAttribute( - Attributes::TOTAL_WEIGHT); + const int totalWeight + = PlayerInfo::getAttribute(Attributes::TOTAL_WEIGHT); const int maxWeight = PlayerInfo::getAttribute(Attributes::MAX_WEIGHT); float progress = 1.0F; if (maxWeight != 0) |