summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/equipmentwindow.cpp7
-rw-r--r--src/gui/equipmentwindow.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 88cd7b74..7111e7fc 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -68,7 +68,6 @@ EquipmentWindow::EquipmentWindow():
#ifdef TMWSERV_SUPPORT
mEquipment(equipment),
#endif
- mBackground(NULL),
mSelected(-1)
{
mItemPopup = new ItemPopup;
@@ -102,10 +101,6 @@ EquipmentWindow::EquipmentWindow():
mEquipBox[i].posY = boxPosition[i][1] + getTitleBarHeight();
}
- ResourceManager *resman = ResourceManager::getInstance();
- mBackground = resman->getImage("graphics/gui/equip_bg.png");
- if (mBackground) mBackground->setAlpha(0.3);
-
#ifdef EATHENA_SUPPORT
mEquipment = player_node->mEquipment.get();
mInventory = player_node->getInventory();
@@ -114,8 +109,6 @@ EquipmentWindow::EquipmentWindow():
EquipmentWindow::~EquipmentWindow()
{
- if (mBackground != NULL)
- mBackground->decRef();
delete mItemPopup;
delete mUnequip;
}
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h
index 7f7150ff..3e0afb48 100644
--- a/src/gui/equipmentwindow.h
+++ b/src/gui/equipmentwindow.h
@@ -118,7 +118,6 @@ class EquipmentWindow : public Window, public gcn::ActionListener
Inventory *mInventory;
#endif
gcn::Button *mUnequip; /**< Button for unequipping. */
- Image *mBackground; /**< Background Image. */
EquipBox mEquipBox[EQUIP_VECTOREND]; /**< Equipment Boxes. */
ItemPopup *mItemPopup;