diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-18 00:34:22 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-18 00:34:22 +0000 |
commit | 6817824379462ee5a1aab8267eb437d2b543504e (patch) | |
tree | de5fdb811964e1ae9baa86f8d78f19dc99f26a28 /crawl-ref/source/newgame.cc | |
parent | b5890e8e1fde868016e260b98170e00c67947601 (diff) | |
download | crawl-ref-6817824379462ee5a1aab8267eb437d2b543504e.tar.gz crawl-ref-6817824379462ee5a1aab8267eb437d2b543504e.zip |
Consolidate checks for the player's being undead or a demonspawn into
player_is_unholy(), a la mons_is_unholy(), and use it where possible.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8522 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 21be9c68e4..2848e0d981 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -4434,7 +4434,7 @@ bool _give_items_skills() you.piety = 45; // Set gods. - if (you.species == SP_MUMMY || you.species == SP_DEMONSPAWN + if (you.species == SP_DEMONSPAWN || you.species == SP_MUMMY || you.species == SP_GHOUL || you.species == SP_VAMPIRE) { you.religion = GOD_YREDELEMNUL; |