From 6f58c0476ee2afc785c3f62aa5b3a7d06561837b Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 14 Mar 2009 16:36:33 +0000 Subject: 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 --- crawl-ref/source/player.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/player.cc') 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); } -- cgit v1.2.3-54-g00ecf