diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-21 10:49:08 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-21 10:49:08 +0000 |
commit | 300b157c23f4b3a0727a19b3fd89d24e909f5184 (patch) | |
tree | c7a447c9301f2dac0182878f85b845d225fb671c /crawl-ref/source/decks.cc | |
parent | 724da7b6f8eebce7b00ac5f58702b7cd2d868a69 (diff) | |
download | crawl-ref-300b157c23f4b3a0727a19b3fd89d24e909f5184.tar.gz crawl-ref-300b157c23f4b3a0727a19b3fd89d24e909f5184.zip |
Fix 2085598: Nemelex won't be disappointed if there are invisible monsters
nearby when drawing from Destruction, even if you can't see them.
Xom can now act on creatures you can't see.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6960 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r-- | crawl-ref/source/decks.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index 509937bc9d..19cec487e0 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -1615,7 +1615,7 @@ static void _mass_drain(int pow) // to target. This is still exploitable by finding popcorn monsters. static bool _damaging_card(card_type card, int power, deck_rarity_type rarity) { - bool rc = there_are_monsters_nearby(); + bool rc = there_are_monsters_nearby(true, false); const int power_level = get_power_level(power, rarity); dist target; |