summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-08 15:45:54 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-08 15:45:54 +0000
commit5c424327fad92d7083ec5f8a6e4e958680f0ba96 (patch)
treea945a70a06762d80a6d1cc013b0b3e68f7736ef8 /crawl-ref
parent69a474cabda1523f7f388e6012d0123b3ed98030 (diff)
downloadcrawl-ref-5c424327fad92d7083ec5f8a6e4e958680f0ba96.tar.gz
crawl-ref-5c424327fad92d7083ec5f8a6e4e958680f0ba96.zip
Fix [2494017]: up-left and up-right swapped in open/disarm.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8331 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/acr.cc4
-rw-r--r--crawl-ref/source/debug.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 946050484b..0b42f8d378 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -1932,9 +1932,9 @@ void process_command( command_type cmd )
switch (cmd)
{
- case CMD_OPEN_DOOR_UP_RIGHT: _open_door(-1, -1); break;
+ case CMD_OPEN_DOOR_UP_RIGHT: _open_door( 1, -1); break;
case CMD_OPEN_DOOR_UP: _open_door( 0, -1); break;
- case CMD_OPEN_DOOR_UP_LEFT: _open_door( 1, -1); break;
+ case CMD_OPEN_DOOR_UP_LEFT: _open_door(-1, -1); break;
case CMD_OPEN_DOOR_RIGHT: _open_door( 1, 0); break;
case CMD_OPEN_DOOR_DOWN_RIGHT: _open_door( 1, 1); break;
case CMD_OPEN_DOOR_DOWN: _open_door( 0, 1); break;
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index 26675953c9..00f7b481f5 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -2164,7 +2164,7 @@ void debug_item_scan( void )
const monsters* mon = holding_monster(mitm[i]);
- // Don't check (-1,-1) player items or (-2, -2) monstert items
+ // Don't check (-1,-1) player items or (-2, -2) monster items
// (except to make sure that the monster is alive).
if (mitm[i].pos.origin())
{