summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-08 17:59:17 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-08 18:02:32 +0200
commit1d7e2d37aa9137e9c6212d5d8a4bffefdc2e0110 (patch)
tree605d996fabd1aab63ea85700a3c6a931f5b08475 /src/gui/equipmentwindow.cpp
parent333b706b4b643382c1924eec0ca1666a202a5838 (diff)
downloadmana-1d7e2d37aa9137e9c6212d5d8a4bffefdc2e0110.tar.gz
mana-1d7e2d37aa9137e9c6212d5d8a4bffefdc2e0110.tar.bz2
mana-1d7e2d37aa9137e9c6212d5d8a4bffefdc2e0110.tar.xz
mana-1d7e2d37aa9137e9c6212d5d8a4bffefdc2e0110.zip
Fixed positioning of the item icons in the equipment window
Noticed by QOAL.
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 42a00926..7810a098 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -147,7 +147,9 @@ void EquipmentWindow::draw(gcn::Graphics *graphics)
{
// Draw Item.
Image *image = item->getImage();
- g->drawImage(image, mEquipBox[i].posX, mEquipBox[i].posY);
+ g->drawImage(image,
+ mEquipBox[i].posX + 2,
+ mEquipBox[i].posY + 2);
#ifdef EATHENA_SUPPORT
if (i == EQUIP_AMMO_SLOT)
{