summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-01 14:45:16 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-01 14:45:16 +0000
commitf9cb4e311fbd85359275929621ed1eafc50d0173 (patch)
treef7d26e8cc005442ea8739a9bcdddbd425c30dc17 /crawl-ref/source/stuff.cc
parentc8f062681ab8adc715359480ca8e71109dc780f9 (diff)
downloadcrawl-ref-f9cb4e311fbd85359275929621ed1eafc50d0173.tar.gz
crawl-ref-f9cb4e311fbd85359275929621ed1eafc50d0173.zip
Add yet more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4024 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r--crawl-ref/source/stuff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index dbef5561ba..8f2055badc 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -920,7 +920,7 @@ int yesnoquit( const char* str, bool safe, int safeanswer,
mprf("[Y]es%s, [N]o or [Q]uit only, please.",
_list_alternative_yes(alt_yes, alt_yes2, false, true).c_str());
}
-}
+}
// More accurate than distance() given the actual movement geometry -- bwr
int grid_distance( int x, int y, int x2, int y2 )
@@ -974,7 +974,7 @@ bool player_can_hear(int x, int y)
// Returns true if inside the area the player can move and dig (ie exclusive)
bool in_bounds( int x, int y )
{
- return (x > X_BOUND_1 && x < X_BOUND_2
+ return (x > X_BOUND_1 && x < X_BOUND_2
&& y > Y_BOUND_1 && y < Y_BOUND_2);
}