summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-25 10:07:25 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-25 10:07:25 +0000
commit365b4e61effbde10336dc2cfe207b8c5655d4020 (patch)
treedd15fe308c86e66afa1e2a5bcc75b791efd540b0 /crawl-ref/source/decks.h
parentaed21b5eb6dd5422b50ecb46617f2da16f108965 (diff)
downloadcrawl-ref-365b4e61effbde10336dc2cfe207b8c5655d4020.tar.gz
crawl-ref-365b4e61effbde10336dc2cfe207b8c5655d4020.zip
Drawing from Destruction with no monsters nearby does not gain piety.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2546 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/decks.h')
-rw-r--r--crawl-ref/source/decks.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/decks.h b/crawl-ref/source/decks.h
index 94c40468db..e028d822c8 100644
--- a/crawl-ref/source/decks.h
+++ b/crawl-ref/source/decks.h
@@ -28,7 +28,7 @@
// brownie points from it again.
//
// The card type and per-card flags are each stored as unsigned bytes,
-// for a maximum of 256 differetn kinds of cards and 8 bits of flags.
+// for a maximum of 256 different kinds of cards and 8 bits of flags.
enum deck_rarity_type
{
@@ -122,7 +122,9 @@ bool deck_peek();
bool deck_mark();
bool deck_stack();
bool choose_deck_and_draw();
-void card_effect(card_type which_card, deck_rarity_type rarity,
+
+// Return true if it was a "genuine" draw, false otherwise.
+bool card_effect(card_type which_card, deck_rarity_type rarity,
unsigned char card_flags = 0, bool tell_card = true);
void draw_from_deck_of_punishment();