diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-14 22:44:29 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-14 22:44:29 +0000 |
commit | 3b818666ded14091b0ad01215b66fe1fccf2a2d6 (patch) | |
tree | c902e76bc8ee0eb5bbd28b2091d67deed75081c6 | |
parent | 7174df31ccdefa625bfa1f4f4b658f68396fe8e8 (diff) | |
download | crawl-ref-3b818666ded14091b0ad01215b66fe1fccf2a2d6.tar.gz crawl-ref-3b818666ded14091b0ad01215b66fe1fccf2a2d6.zip |
Deck ID should set you.wield_change.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1869 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/decks.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index 4cb97f373d..bc859a48e9 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -444,6 +444,7 @@ void evoke_deck( item_def& deck ) set_ident_flags( deck, ISFLAG_KNOW_TYPE ); msg::streams(MSGCH_EQUIPMENT) << deck.name(DESC_INVENTORY) << std::endl; + you.wield_change = true; } did_god_conduct(DID_CARDS, brownie_points); @@ -815,8 +816,6 @@ static void helm_card(int power, deck_rarity_type rarity) msg::stream << "You feel resistant to " << resist_names[i] << '.' << std::endl; --num_resists; - if ( num_resists == 0 ) - break; } } } |