diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-13 19:10:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-13 21:20:33 +0300 |
commit | fcf1da7a161c3e18d393a9b998effc6aa1c366b9 (patch) | |
tree | 5f92a8a168dd0748903cc90620a00c7c7bd29377 /src/gui/widgets/itemcontainer.cpp | |
parent | cd0baf3217701134a8e61932fd14c39cec0cf242 (diff) | |
download | manaplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.gz manaplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.bz2 manaplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.xz manaplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.zip |
fix code style.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index a69716f75..5151e44fd 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -282,7 +282,8 @@ void ItemContainer::draw(gcn::Graphics *graphics) image->setAlpha(1.0f); // ensure the image if fully drawn... g->drawImage(image, itemX + mPaddingItemX, itemY + mPaddingItemY); - if (mProtectedImg && PlayerInfo::isItemProtected(item->getId())) + if (mProtectedImg && PlayerInfo::isItemProtected( + item->getId())) { g->drawImage(mProtectedImg, itemX + mPaddingItemX, itemY + mPaddingItemY); |