diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-20 21:18:13 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-20 21:18:13 +0000 |
commit | a28741dd2b29142210f64325cb2cb87c806d3409 (patch) | |
tree | 611f028941af67538525e535cb3c4f30cb058bf4 /crawl-ref/source/it_use2.cc | |
parent | c917efe2ecd38f449619d7b25160c8053b81e108 (diff) | |
download | crawl-ref-a28741dd2b29142210f64325cb2cb87c806d3409.tar.gz crawl-ref-a28741dd2b29142210f64325cb2cb87c806d3409.zip |
Fix 2822832: temporary brands not being removed when thrown with LRET_FUMBLED
plus: thrown weapon permabrand being removed when
DUR_WEAPON_BRAND is active
plus: double messaging of "You are now empty-handed."
Fix 2810517: Added a pre-ability requirements check that handles Lugonu's
enter/exit abyss, berserking, recite, breath attacks and
some more. If the requirements aren't met, the check fails
before the success check, thus no turn is wasted.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10360 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index ca82d654e9..62e8a6ab26 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -486,7 +486,7 @@ bool unwield_item(bool showMsgs) if (you.duration[DUR_WEAPON_BRAND]) { you.duration[DUR_WEAPON_BRAND] = 0; - set_item_ego_type( item, OBJ_WEAPONS, SPWPN_NORMAL ); + set_item_ego_type(item, OBJ_WEAPONS, SPWPN_NORMAL); // We're letting this through even if hiding messages. mpr("Your branding evaporates."); |