diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-12 20:16:52 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-12 20:16:52 +0000 |
commit | 48bd58131a16a98fd337325154a7c01819aafa96 (patch) | |
tree | eb27136b6b3757a054561019c1dd4a18ceaff799 /crawl-ref/source/newgame.cc | |
parent | dbef5aed8b483f0e573721601b95b3c997ac5320 (diff) | |
download | crawl-ref-48bd58131a16a98fd337325154a7c01819aafa96.tar.gz crawl-ref-48bd58131a16a98fd337325154a7c01819aafa96.zip |
Fix an error I accidentally introduced when tweaking the previous patch.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10663 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r-- | crawl-ref/source/newgame.cc | 2 |
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; |