diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-09 17:22:10 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-09 17:22:10 +0000 |
commit | a56283995b40d2697802ad22c6fab03ebaf16bce (patch) | |
tree | cf92927fdccc57d6b326e98ebe02b15fa79c05a9 /crawl-ref/source/travel.cc | |
parent | 3a8c422258d89e781b68969e007a8316d84758ff (diff) | |
download | crawl-ref-a56283995b40d2697802ad22c6fab03ebaf16bce.tar.gz crawl-ref-a56283995b40d2697802ad22c6fab03ebaf16bce.zip |
Add yet more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4163 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r-- | crawl-ref/source/travel.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc index dda809deb6..d393a829c7 100644 --- a/crawl-ref/source/travel.cc +++ b/crawl-ref/source/travel.cc @@ -1017,7 +1017,7 @@ void explore_pickup_event(int did_pickup, int tried_pickup) { if (!did_pickup && !tried_pickup) return; - + if (!you.running.is_explore()) return; @@ -3854,12 +3854,12 @@ bool runrest::run_grids_changed() const void runrest::stop() { - bool need_redraw = + bool need_redraw = runmode > 0 || (runmode < 0 && Options.travel_delay == -1); userdef_run_stoprunning_hook(); runmode = RMODE_NOT_RUNNING; - // Kill the delay; this is fine because it's not possible to stack + // Kill the delay; this is fine because it's not possible to stack // run/rest/travel on top of other delays. stop_delay(); @@ -3871,7 +3871,7 @@ void runrest::stop() bool runrest::is_rest() const { - return (runmode > 0 && !x && !y); + return (runmode > 0 && !x && !y); } bool runrest::is_explore() const |