summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/equipmentwindow.h')
-rw-r--r--src/gui/equipmentwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h
index d80535ed6..82a6454ba 100644
--- a/src/gui/equipmentwindow.h
+++ b/src/gui/equipmentwindow.h
@@ -66,6 +66,9 @@ class EquipmentWindow : public Window, public gcn::ActionListener
void mousePressed(gcn::MouseEvent& mouseEvent);
+ Item* getEquipment(int i)
+ { return mEquipment ? mEquipment->getEquipment(i) : 0; }
+
private:
void mouseExited(gcn::MouseEvent &event);
void mouseMoved(gcn::MouseEvent &event);