diff options
Diffstat (limited to 'src/gui/specialswindow.cpp')
-rw-r--r-- | src/gui/specialswindow.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/specialswindow.cpp b/src/gui/specialswindow.cpp index 1104aa05..17705b47 100644 --- a/src/gui/specialswindow.cpp +++ b/src/gui/specialswindow.cpp @@ -130,12 +130,10 @@ void SpecialsWindow::draw(gcn::Graphics *graphics) foundNew = true; break; } - else - { - // update progress bar of special - e->second->update(special.second.currentMana, special.second.neededMana); - found++; - } + + // update progress bar of special + e->second->update(special.second.currentMana, special.second.neededMana); + found++; } // a rebuild is needed when a) the number of specials changed or b) an existing entry isn't found anymore if (foundNew || found != mEntries.size()) |