diff options
author | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-14 07:35:39 +0000 |
---|---|---|
committer | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-14 07:35:39 +0000 |
commit | 94ceb87517474ac372a41a52a3448104f51435bf (patch) | |
tree | 9a39e73ebab7856f7da8ea68aa6e6c1a15ee4713 /crawl-ref/source/it_use2.cc | |
parent | bfeb59ed40adef39b01dcb1fb9a8e6a500eec1b9 (diff) | |
download | crawl-ref-94ceb87517474ac372a41a52a3448104f51435bf.tar.gz crawl-ref-94ceb87517474ac372a41a52a3448104f51435bf.zip |
Quiver work:
+ bug: if wield sling and no quiver, then pick up stones: should quiver
+ implement: save and load (does not break saves)
+ remove: fire_quiver_best
+ remove: you.quiver
+ bug: identifying items doesn't update quiver properly
+ rename: you.quiver_change -> you.redraw_quiver
+ test no item because of =f
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4227 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index 6093cb0577..f9914847e3 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -33,6 +33,7 @@ #include "misc.h" #include "mutation.h" #include "player.h" +#include "quiver.h" #include "randart.h" #include "religion.h" #include "skills2.h" @@ -390,7 +391,7 @@ bool unwield_item(bool showMsgs) you.equip[EQ_WEAPON] = -1; you.special_wield = SPWLD_NONE; you.wield_change = true; - you.quiver_change = true; + you.m_quiver->on_weapon_changed(); item_def &item(you.inv[unw]); |