diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-06 13:04:13 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-06 13:04:13 +0000 |
commit | 884757599b5109bdec4dd7d8748cbfdeb51596b3 (patch) | |
tree | adfacd30240a7359dabd3604ccdda3fcdd76d649 /crawl-ref/source/acr.cc | |
parent | 5c6fa867a8a10aba4638e1d73114b24168cec327 (diff) | |
download | crawl-ref-884757599b5109bdec4dd7d8748cbfdeb51596b3.tar.gz crawl-ref-884757599b5109bdec4dd7d8748cbfdeb51596b3.zip |
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
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 14 |
1 files changed, 7 insertions, 7 deletions
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: |