summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp7
1 files changed, 0 insertions, 7 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;
}