summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-31 09:51:31 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-31 09:51:31 -0600
commit2c5f308192d18b5447a5b0e2ee3428984c1f1b78 (patch)
treefb6eb3b3e626a1cf09668c5fef16531ac5651bf3 /src/gui/equipmentwindow.cpp
parent908a43a0522cf879daed4e671f187eb25329cfa7 (diff)
downloadmana-client-2c5f308192d18b5447a5b0e2ee3428984c1f1b78.tar.gz
mana-client-2c5f308192d18b5447a5b0e2ee3428984c1f1b78.tar.bz2
mana-client-2c5f308192d18b5447a5b0e2ee3428984c1f1b78.tar.xz
mana-client-2c5f308192d18b5447a5b0e2ee3428984c1f1b78.zip
Remove unused background
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;
}