summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index f0b5a31540..d7c43687b4 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -3864,7 +3864,7 @@ static void _good_potion_or_scroll(int & slot)
if (you.is_undead == US_UNDEAD)
base_rand -= 3;
// No berserk rage for ghouls.
- else if (you.is_undead != US_SEMI_UNDEAD)
+ else if (you.is_undead && you.is_undead != US_SEMI_UNDEAD)
base_rand--;
you.inv[slot].quantity = 1;