From 884757599b5109bdec4dd7d8748cbfdeb51596b3 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 6 Oct 2007 13:04:13 +0000 Subject: First steps toward removing the need for 6-deep rock-wall padding around dungeon maps. This is likely to be buggy for a while. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2341 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/acr.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/acr.cc') diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 0c655f447e..cc53e9424f 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1573,8 +1573,6 @@ static void experience_check() void process_command( command_type cmd ) { - - FixedVector < int, 2 > plox; apply_berserk_penalty = true; switch (cmd) @@ -1990,11 +1988,13 @@ void process_command( command_type cmd ) break; } #endif - plox[0] = 0; - show_map(plox, true); - redraw_screen(); - if (plox[0] > 0) - start_travel(plox[0], plox[1]); + { + coord_def pos; + show_map(pos, true); + redraw_screen(); + if (pos.x > 0) + start_travel(pos.x, pos.y); + } break; case CMD_DISPLAY_KNOWN_OBJECTS: -- cgit v1.2.3-54-g00ecf