diff options
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r-- | src/gui/itemcontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp index 43de8db3..0e203905 100644 --- a/src/gui/itemcontainer.cpp +++ b/src/gui/itemcontainer.cpp @@ -110,7 +110,7 @@ ItemContainer::draw(gcn::Graphics *graphics) // Draw selection image below selected item if (mSelectedItem == item) { - dynamic_cast<Graphics*>(graphics)->drawImage( + static_cast<Graphics*>(graphics)->drawImage( mSelImg, itemX, itemY); } @@ -118,7 +118,7 @@ ItemContainer::draw(gcn::Graphics *graphics) Image* image; if ((image = item->getInfo().getImage()) != NULL) { - dynamic_cast<Graphics*>(graphics)->drawImage( + static_cast<Graphics*>(graphics)->drawImage( image, itemX, itemY); } |