diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-16 09:25:17 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-16 09:25:17 +0000 |
commit | cfd996c44458c4a6c8796ad73bf5c78a193c4ea4 (patch) | |
tree | 467752455a61b28baf8bc0633c74679ca38c75f0 /crawl-ref/source/player.cc | |
parent | 621bd9ce58cc45ce9cfcc3cf1f576882b40a426d (diff) | |
download | crawl-ref-cfd996c44458c4a6c8796ad73bf5c78a193c4ea4.tar.gz crawl-ref-cfd996c44458c4a6c8796ad73bf5c78a193c4ea4.zip |
Tweaked unique code to eliminate the confusing arithmetic on MONS enum values.
Breaks save compatibility again.
Added a unique curse skull. Indulge me.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1044 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 611ca70bc5..892f09678b 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5197,3 +5197,8 @@ bool player::has_usable_claws() const || species == SP_TROLL || species == SP_GHOUL)); } + +god_type player::deity() const +{ + return (religion); +} |