diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-09-27 14:54:09 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-09-27 14:54:09 +0000 |
commit | 285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4 (patch) | |
tree | 0a4e4169ffada0fbdc25fd91822a8c0fe678571c /src/gui/equipmentwindow.cpp | |
parent | c24856707233ceb3995e43f8f7da63e65999df1e (diff) | |
download | mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.gz mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.bz2 mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.tar.xz mana-285da0d05eb2e6b680a8dfc497cf4ecab75b7aa4.zip |
Merged another bunch of changes from trunk to 0.0 to reduce the difference.
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp index 78727ff8..4df18b19 100644 --- a/src/gui/equipmentwindow.cpp +++ b/src/gui/equipmentwindow.cpp @@ -66,7 +66,7 @@ void EquipmentWindow::draw(gcn::Graphics *graphics) } image = item->getInfo().getImage(); - dynamic_cast<Graphics*>(graphics)->drawImage( + static_cast<Graphics*>(graphics)->drawImage( image, 36 * (i % 4) + 10, 36 * (i / 4) + 25); } @@ -78,7 +78,7 @@ void EquipmentWindow::draw(gcn::Graphics *graphics) image = item->getInfo().getImage(); - dynamic_cast<Graphics*>(graphics)->drawImage(image, 160, 25); + static_cast<Graphics*>(graphics)->drawImage(image, 160, 25); graphics->drawText(toString(item->getQuantity()), 170, 62, gcn::Graphics::CENTER); } |