diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-23 22:44:50 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-23 22:44:50 +0000 |
commit | 1c46649f35b7423825ea143b614661bc502c9cc5 (patch) | |
tree | 71d8521d6c53a0b05573ba3ba0c1b480fbb888dc /crawl-ref/source | |
parent | ea9b36154067b4b24fa9deaf34185bf75f1fbdfc (diff) | |
download | crawl-ref-1c46649f35b7423825ea143b614661bc502c9cc5.tar.gz crawl-ref-1c46649f35b7423825ea143b614661bc502c9cc5.zip |
Add more spacing fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9690 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-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); |