diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-01 22:20:24 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-01 22:20:24 +0000 |
commit | 593fe4be5b47a5c25087315667c43125070b2e97 (patch) | |
tree | 1d71bd4946a4153f5bcfc0333134b276977acea7 /src/equipment.cpp | |
parent | ad4b0d0b8e32e61798ade9c256f850e8f96575f3 (diff) | |
download | mana-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.cpp | 11 |
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); -} |