diff options
-rw-r--r-- | crawl-ref/source/player.cc | 6 | ||||
-rw-r--r-- | crawl-ref/source/player.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 6cdd04d41b..ee4899807d 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -388,18 +388,18 @@ bool is_grid_dangerous(int grid) || (grid == DNGN_DEEP_WATER && !player_likes_water()))); } -bool player_in_mappable_area( void ) +bool player_in_mappable_area(void) { return (!testbits(env.level_flags, LFLAG_NOT_MAPPABLE) && !testbits(get_branch_flags(), BFLAG_NOT_MAPPABLE)); } -bool player_in_branch( int branch ) +bool player_in_branch(int branch) { return (you.level_type == LEVEL_DUNGEON && you.where_are_you == branch); } -bool player_in_hell( void ) +bool player_in_hell(void) { // No real reason except to draw someone's attention here if they // mess with the branch enum. diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index 3c2a12e339..3c9f2f5673 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -28,8 +28,8 @@ bool move_player_to_grid( const coord_def& p, bool stepped, bool allow_shift, bool force, bool swapping = false ); bool player_in_mappable_area(void); -bool player_in_branch( int branch ); -bool player_in_hell( void ); +bool player_in_branch(int branch); +bool player_in_hell(void); int get_player_wielded_weapon(void); bool berserk_check_wielded_weapon(void); |