diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-07 14:57:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-07 21:38:21 +0300 |
commit | ae550d179c25e149f7e8a8d70011b364fb0d85d6 (patch) | |
tree | c4dabe3e38afc8b343e3946202eb6fa5f30a18a9 /src/gui/statuswindow.cpp | |
parent | 2566e68d2502d39c9f7c9d83ce4b281e2834fe29 (diff) | |
download | manaverse-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.gz manaverse-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.bz2 manaverse-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.xz manaverse-ae550d179c25e149f7e8a8d70011b364fb0d85d6.zip |
some fixes after auto check.
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r-- | src/gui/statuswindow.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index ddd16fa12..ef91582f8 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -415,10 +415,7 @@ void StatusWindow::processEvent(Channels channel A_UNUSED, updateMPBar(mMpBar, true); const Attrs::const_iterator it = mAttrs.find(id); if (it != mAttrs.end() && it->second) - { - if (it->second) - it->second->update(); - } + it->second->update(); } } } |