summaryrefslogtreecommitdiff
path: root/src/equipment.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-01 22:20:24 +0000
committerIra Rice <irarice@gmail.com>2008-10-01 22:20:24 +0000
commit593fe4be5b47a5c25087315667c43125070b2e97 (patch)
tree1d71bd4946a4153f5bcfc0333134b276977acea7 /src/equipment.cpp
parentad4b0d0b8e32e61798ade9c256f850e8f96575f3 (diff)
downloadmana-593fe4be5b47a5c25087315667c43125070b2e97.tar.gz
mana-593fe4be5b47a5c25087315667c43125070b2e97.tar.bz2
mana-593fe4be5b47a5c25087315667c43125070b2e97.tar.xz
mana-593fe4be5b47a5c25087315667c43125070b2e97.zip
Reduced arrow equipping so that it only does what it needs to do.
Hopefully, this is the arrow bug. If not, then there's no way that this bug is not shared by both TMW and Aethyra.
Diffstat (limited to 'src/equipment.cpp')
-rw-r--r--src/equipment.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/equipment.cpp b/src/equipment.cpp
index 9a87c6b5..b2d5e609 100644
--- a/src/equipment.cpp
+++ b/src/equipment.cpp
@@ -54,14 +54,3 @@ void Equipment::setEquipment(int index, Item *item)
mEquipment[index] = item;
item->setEquipped(true);
}
-
-void Equipment::setArrows(Item *arrows)
-{
- if (mArrows)
- mArrows->setEquipped(false);
-
- mArrows = arrows;
-
- if (arrows)
- arrows->setEquipped(true);
-}