diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-03 13:55:43 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-03 13:55:43 +0000 |
commit | 7a242f8e4ab1ab615cadcbf280de0ddd99754b0a (patch) | |
tree | 003089e0ce290ec32c64162bfe9b49799ee8d3ce /crawl-ref/source/item_use.cc | |
parent | 240d2022a003e137a8f32e7dd8985e8cb2871f8b (diff) | |
download | crawl-ref-7a242f8e4ab1ab615cadcbf280de0ddd99754b0a.tar.gz crawl-ref-7a242f8e4ab1ab615cadcbf280de0ddd99754b0a.zip |
Fix a bug with swap_when_safe, and experimentally default
chunks_autopickup, swap_when_safe, and show_beam to true.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5457 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index c660210e59..34c11516dd 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -473,10 +473,9 @@ int item_special_wield_effect(const item_def &item) } } -// provide a function for handling initial wielding of 'special' +// Provide a function for handling initial wielding of 'special' // weapons, or those whose function is annoying to reproduce in -// other places *cough* auto-butchering *cough* {gdl} - +// other places *cough* auto-butchering *cough*. {gdl} void wield_effects(int item_wield_2, bool showMsgs) { unsigned char i_dam = 0; @@ -484,7 +483,7 @@ void wield_effects(int item_wield_2, bool showMsgs) const bool known_cursed = item_known_cursed(you.inv[item_wield_2]); item_def &item = you.inv[item_wield_2]; - // and here we finally get to the special effects of wielding {dlb} + // And here we finally get to the special effects of wielding. {dlb} switch (item.base_type) { case OBJ_MISCELLANY: @@ -511,9 +510,9 @@ void wield_effects(int item_wield_2, bool showMsgs) } else if (!maybe_identify_staff(item)) { - // Give curse status when wielded. - // Right now that's always "uncursed". -- bwr - set_ident_flags( item, ISFLAG_KNOW_CURSE ); + // Give curse status when wielded. + // Right now that's always "uncursed". -- bwr + set_ident_flags( item, ISFLAG_KNOW_CURSE ); } break; } @@ -528,7 +527,7 @@ void wield_effects(int item_wield_2, bool showMsgs) const bool was_known = item_type_known(item); - // only used for Singing Sword introducing itself + // Only used for Singing Sword introducing itself // (could be extended to other talking weapons...) const char *old_desc = item.name(DESC_CAP_THE).c_str(); |