summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index f30c907098..080c029e77 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -3037,7 +3037,8 @@ bool card_effect(card_type which_card, deck_rarity_type rarity,
set_hunger(12000, true);
break;
- default:
+ case NUM_CARDS:
+ // The compiler will complain if any card remains unhandled.
mpr("You have drawn a buggy card!");
break;
}