diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-04 18:36:02 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-04 18:36:02 -0700 |
commit | cd511bda4e07f5de49ef66eff9d2fe4d649c17b6 (patch) | |
tree | 2b309ba271d3a31739670e868bc340aab02cd75a /src/gui/equipmentwindow.h | |
parent | 3818b6db81341b840201996c186bdc8ad5e456e9 (diff) | |
download | mana-client-cd511bda4e07f5de49ef66eff9d2fe4d649c17b6.tar.gz mana-client-cd511bda4e07f5de49ef66eff9d2fe4d649c17b6.tar.bz2 mana-client-cd511bda4e07f5de49ef66eff9d2fe4d649c17b6.tar.xz mana-client-cd511bda4e07f5de49ef66eff9d2fe4d649c17b6.zip |
Simplified equipment window initialization, since only the local player
has an inventory or an equipment.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/equipmentwindow.h')
-rw-r--r-- | src/gui/equipmentwindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h index b64c768b..4ae3300f 100644 --- a/src/gui/equipmentwindow.h +++ b/src/gui/equipmentwindow.h @@ -52,7 +52,7 @@ class EquipmentWindow : public Window, public gcn::ActionListener /** * Constructor. */ - EquipmentWindow(Equipment *equipment); + EquipmentWindow(); /** * Destructor. @@ -68,8 +68,6 @@ class EquipmentWindow : public Window, public gcn::ActionListener void mousePressed(gcn::MouseEvent& mouseEvent); - Item* getItem(const int &x, const int &y); - enum { // Equipment rules: EQUIP_LEGS_SLOT = 0, @@ -91,6 +89,8 @@ class EquipmentWindow : public Window, public gcn::ActionListener void mouseExited(gcn::MouseEvent &event); void mouseMoved(gcn::MouseEvent &event); + Item* getItem(const int &x, const int &y); + Equipment *mEquipment; Inventory *mInventory; gcn::Button *mUnequip; /**< Button for unequipping. */ |