summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 5fe36dfd01..5565d8e2ec 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1846,7 +1846,7 @@ void process_command( command_type cmd )
}
#endif
{
- coord_def pos;
+ level_pos pos;
#ifdef USE_TILE
// Since there's no actual overview map, but the functionality
// exists, give a message to explain what's going on.
@@ -1861,8 +1861,8 @@ void process_command( command_type cmd )
#ifdef USE_TILE
mpr("Returning to the game...");
#endif
- if (pos.x > 0)
- start_travel(pos);
+ if (pos.pos.x > 0)
+ start_translevel_travel(pos);
}
break;