From 0af56a49709de098bbe186b8343931896caefbc0 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 26 Mar 2007 09:21:24 +0000 Subject: Default targeting on unidentified wands to enemies. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1100 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index c26b4ea707..986fc0c907 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2508,8 +2508,8 @@ void zap_wand(void) char str_pass[ ITEMNAME_SIZE ]; // Unless the character knows the type of the wand, the targeting - // system will default to cycling through all monsters. -- bwr - int targ_mode = TARG_ANY; + // system will default to enemies. -- [ds] + int targ_mode = TARG_ENEMY; beam.obvious_effect = false; -- cgit v1.2.3-54-g00ecf