diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-15 22:21:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-15 22:21:02 +0300 |
commit | ca9fac131283ed536971799bef0d1fff4ef8adc1 (patch) | |
tree | ec70584d20b117c5d2446ef42b898eeacdda9d12 /src/gui/widgets/shoplistbox.cpp | |
parent | 29f929794c7519b049de0be3af635f05d7e83be6 (diff) | |
download | plus-ca9fac131283ed536971799bef0d1fff4ef8adc1.tar.gz plus-ca9fac131283ed536971799bef0d1fff4ef8adc1.tar.bz2 plus-ca9fac131283ed536971799bef0d1fff4ef8adc1.tar.xz plus-ca9fac131283ed536971799bef0d1fff4ef8adc1.zip |
Remove useless graphics casts.
Diffstat (limited to 'src/gui/widgets/shoplistbox.cpp')
-rw-r--r-- | src/gui/widgets/shoplistbox.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp index 644023c43..8f45abeb3 100644 --- a/src/gui/widgets/shoplistbox.cpp +++ b/src/gui/widgets/shoplistbox.cpp @@ -82,7 +82,7 @@ void ShopListBox::setPlayersMoney(const int money) mPlayerMoney = money; } -void ShopListBox::draw(Graphics *gcnGraphics) +void ShopListBox::draw(Graphics *graphics) { BLOCK_START("ShopListBox::draw") if (!mListModel || !mShopItems) @@ -95,7 +95,6 @@ void ShopListBox::draw(Graphics *gcnGraphics) mAlpha = client->getGuiAlpha(); const int alpha = static_cast<int>(mAlpha * 255.0F); - Graphics *graphics = static_cast<Graphics*>(gcnGraphics); gcn::Font *const font = getFont(); const int sz = mListModel->getNumberOfElements(); |