summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-26 09:21:24 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-26 09:21:24 +0000
commit0af56a49709de098bbe186b8343931896caefbc0 (patch)
tree5fc24e7aa5b2a824bc4fb0fbf73c7d81399cfbca /crawl-ref/source/item_use.cc
parentec62c5a0d55507402da8fd23d64feaf502c39ead (diff)
downloadcrawl-ref-0af56a49709de098bbe186b8343931896caefbc0.tar.gz
crawl-ref-0af56a49709de098bbe186b8343931896caefbc0.zip
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
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc4
1 files 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;