summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-14 16:36:33 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-14 16:36:33 +0000
commit6f58c0476ee2afc785c3f62aa5b3a7d06561837b (patch)
tree5e2eb4c52fd36f739185d0a2d7cf2aaeb35dc699 /crawl-ref/source/player.cc
parentfb0c1ee8cbedcc50843b298a6ea4e5ea1263a09c (diff)
downloadcrawl-ref-6f58c0476ee2afc785c3f62aa5b3a7d06561837b.tar.gz
crawl-ref-6f58c0476ee2afc785c3f62aa5b3a7d06561837b.zip
Remove references to unimplemented branches (Caverns, Pit, Inferno).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9474 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 9658de3510..b6fff40d84 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -396,7 +396,7 @@ bool player_in_hell( void )
// No real reason except to draw someone's attention here if they
// mess with the branch enum.
COMPILE_CHECK(BRANCH_FIRST_HELL == BRANCH_DIS, a);
- COMPILE_CHECK(BRANCH_LAST_HELL == BRANCH_THE_PIT, b);
+ COMPILE_CHECK(BRANCH_LAST_HELL == BRANCH_TARTARUS, b);
return (you.level_type == LEVEL_DUNGEON
&& you.where_are_you >= BRANCH_FIRST_HELL
@@ -4346,7 +4346,7 @@ bool player_is_airborne(void)
return you.airborne();
}
-bool player_has_spell(spell_type spell)
+bool player_has_spell( spell_type spell )
{
return you.has_spell(spell);
}