diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-03 21:18:44 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-03 21:18:44 +0000 |
commit | a32a2ae31db4aca7df3ea969b0c1ef456c0ba159 (patch) | |
tree | 771c0fbf31e627cc525d816de6c8dee60ed8739a /crawl-ref/source/notes.cc | |
parent | 5408e069ec778214f8a3fe07a4d871070823891b (diff) | |
download | crawl-ref-a32a2ae31db4aca7df3ea969b0c1ef456c0ba159.tar.gz crawl-ref-a32a2ae31db4aca7df3ea969b0c1ef456c0ba159.zip |
Reorder species in newgame.cc (clean-up, no coding changes).
Add known weapons of holy wrath as useless items for undead, likewise
with weapons of pain for characters without Necromancy skill. (The
latter only applies if the item is not an artefact.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6374 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index 5a03322aab..9edff6b4cd 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -76,7 +76,7 @@ static bool _is_noteworthy_hp( int hp, int maxhp ) static int _dungeon_branch_depth( unsigned char branch ) { - if ( branch >= NUM_BRANCHES ) + if (branch >= NUM_BRANCHES) return -1; return branches[branch].depth; } |