summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r--crawl-ref/source/travel.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index 4fa02e4764..1ad2b3be59 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -833,7 +833,8 @@ static void explore_find_target_square()
// No place to go? Report to the player.
const int estatus = find_explore_status(tp);
- if (!estatus) {
+ if (!estatus)
+ {
mpr("Done exploring.");
learned_something_new(TUT_DONE_EXPLORE);
}
@@ -1049,7 +1050,8 @@ command_type travel()
return direction_to_command( *move_x, *move_y );
}
-command_type direction_to_command( char x, char y ) {
+command_type direction_to_command( char x, char y )
+{
if ( x == -1 && y == -1 ) return CMD_MOVE_UP_LEFT;
if ( x == -1 && y == 0 ) return CMD_MOVE_LEFT;
if ( x == -1 && y == 1 ) return CMD_MOVE_DOWN_LEFT;