summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-11-22 03:58:06 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-11-22 04:34:30 +0100
commit2b82a6a65b830b7ef28ceba4f7d269603f38b758 (patch)
tree98702cdd7cb412c57ba21379b06dac2c39d87c58 /crawl-ref/source/decks.h
parent44b6e7a985c2c5f852a6c9638bdca64259025d8e (diff)
downloadcrawl-ref-2b82a6a65b830b7ef28ceba4f7d269603f38b758.tar.gz
crawl-ref-2b82a6a65b830b7ef28ceba4f7d269603f38b758.zip
Restart Triple Draw in case of a disconnect.
Besides not depriving the player of a draw during bona fide disconnects, this also fixes two cheats: * you had a way out from getting three Wild Magics * a crash on demand has plenty of uses
Diffstat (limited to 'crawl-ref/source/decks.h')
-rw-r--r--crawl-ref/source/decks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/decks.h b/crawl-ref/source/decks.h
index 56e49ef95f..6b9949fb9d 100644
--- a/crawl-ref/source/decks.h
+++ b/crawl-ref/source/decks.h
@@ -127,6 +127,8 @@ bool choose_deck_and_draw();
void nemelex_shuffle_decks();
void shuffle_all_decks_on_level();
+bool draw_three(int slot);
+
void card_effect(card_type which_card, deck_rarity_type rarity,
uint8_t card_flags = 0, bool tell_card = true);
void draw_from_deck_of_punishment(bool deal = false);