summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/shortcutcontainer.h6
-rw-r--r--src/net/ea/equipmenthandler.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/shortcutcontainer.h b/src/gui/shortcutcontainer.h
index fff48423..906201be 100644
--- a/src/gui/shortcutcontainer.h
+++ b/src/gui/shortcutcontainer.h
@@ -74,13 +74,13 @@ class ShortcutContainer : public gcn::Widget,
*/
virtual void mouseReleased(gcn::MouseEvent &event) = 0;
- virtual int getMaxItems() const
+ int getMaxItems() const
{ return mMaxItems; }
- virtual int getBoxWidth() const
+ int getBoxWidth() const
{ return mBoxWidth; }
- virtual int getBoxHeight() const
+ int getBoxHeight() const
{ return mBoxHeight; }
protected:
diff --git a/src/net/ea/equipmenthandler.cpp b/src/net/ea/equipmenthandler.cpp
index 0df0b31e..0153b5da 100644
--- a/src/net/ea/equipmenthandler.cpp
+++ b/src/net/ea/equipmenthandler.cpp
@@ -172,7 +172,7 @@ void EquipmentHandler::handleMessage(MessageIn &msg)
item->setEquipped(false);
if (equipPoint & 0x8000) { // Arrows
- player_node->mEquipment->setArrows(0);
+ player_node->mEquipment->setArrows(-1);
}
else {
player_node->mEquipment->removeEquipment(position);