summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-07-26 23:20:43 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-07-26 23:29:35 +0200
commit854cf3ec8f3cf76abd7d9aabc25e85d89c0c9233 (patch)
treeb099061cc9908f003d09ca02761734869202413b
parentc13e385f3676561f72d899f9fc7854f895afe71d (diff)
downloadmana-854cf3ec8f3cf76abd7d9aabc25e85d89c0c9233.tar.gz
mana-854cf3ec8f3cf76abd7d9aabc25e85d89c0c9233.tar.bz2
mana-854cf3ec8f3cf76abd7d9aabc25e85d89c0c9233.tar.xz
mana-854cf3ec8f3cf76abd7d9aabc25e85d89c0c9233.zip
Removed player box from the equipment window
-rw-r--r--src/gui/equipmentwindow.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 9df8c98c..bd385e40 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -25,15 +25,12 @@
#include "graphics.h"
#include "inventory.h"
#include "item.h"
-#include "localplayer.h"
#include "gui/equipmentwindow.h"
#include "gui/itempopup.h"
#include "gui/setup.h"
#include "gui/viewport.h"
-#include "gui/widgets/playerbox.h"
-
#include "net/inventoryhandler.h"
#include "net/net.h"
@@ -60,11 +57,6 @@ EquipmentWindow::EquipmentWindow(Equipment *equipment):
mItemPopup = new ItemPopup;
setupWindow->registerWindowForReset(this);
- // Control that shows the Player
- PlayerBox *playerBox = new PlayerBox;
- playerBox->setDimension(gcn::Rectangle(50, 80, 74, 123));
- playerBox->setPlayer(local_player);
-
setWindowName("Equipment");
setCloseButton(true);
setSaveVisible(true);
@@ -77,7 +69,6 @@ EquipmentWindow::EquipmentWindow(Equipment *equipment):
area.height - mUnequip->getHeight() - 5);
mUnequip->setEnabled(false);
- add(playerBox);
add(mUnequip);
}