summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 17:54:09 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 17:54:09 +0000
commit83d3cb73a826d442277adf0814e3440fd9e70cae (patch)
treec8dc82697735b0e301bf85388cca6323591a1d57
parent8a881283020519a25ae996b82f67b6a92d131bfb (diff)
downloadcrawl-ref-83d3cb73a826d442277adf0814e3440fd9e70cae.tar.gz
crawl-ref-83d3cb73a826d442277adf0814e3440fd9e70cae.zip
Implemented 1601277: 'f' is an alias for 't' during targetting.
Temporary until we get keymaps sorted out, I guess. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@475 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/direct.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc
index 3e7b6fd845..a517eb68ab 100644
--- a/crawl-ref/source/direct.cc
+++ b/crawl-ref/source/direct.cc
@@ -131,7 +131,7 @@ int dos_direction_unmunge(int doskey)
// * go to targetting mode
// +,= go to targetting mode, next monster
// - " , prev monster
-// t,p auto-select previous target
+// t,p,f auto-select previous target
//
//
// targetting mode is handled by look_around()
@@ -226,6 +226,7 @@ void direction2( struct dist &moves, int restrict, int mode )
case 't':
case 'p':
+ case 'f':
targChosen = true;
dir = 2;
break;