From 7ee1dfa39e789e7b631ff2883ee32b70b104a429 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 24 Jun 2008 22:16:50 +0000 Subject: Apply patch 1952761 by jarpian (wasp): targetting with the monster list. I've updated the patch to the current mlist code, but there are still a couple of bugs that will need to be ironed out. For example, monsters are picked by comparing their attitude and type, which is not sufficient in the case of (non-collapsed) zombies, as well as mimics or ghosts. Also if the number of monsters in the visible list is greater than its rows (because some appear in the same row) then monsters outside of the visible list can be targetted. I guess this is an unintended feature. :) I'm certain there'll be more bugs, though. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6129 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/command.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/command.cc') diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index 24a11729ec..0365448d36 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -729,6 +729,9 @@ static const char *targeting_help_1 = "<</> : cycle through up/down stairs\n" "Tab : cycle through shops and portals\n" "Ctrl-F : change monster targeting mode\n" +#ifndef USE_TILE + "Ctrl-L : toggle targetting via monster list\n" +#endif "Ctrl-P : repeat prompt\n" " \n" "Targeting (zapping wands, casting spells, etc.):\n" -- cgit v1.2.3-54-g00ecf