summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd6.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd6.c b/src/cmd6.c
index f15860b9..ce49b155 100644
--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -3893,7 +3893,7 @@ void do_cmd_aim_wand(void)
{
bool_ obvious, use_charge;
- int item, ident, chance, sval;
+ int item, ident, chance;
object_type *o_ptr;
@@ -3982,9 +3982,6 @@ void do_cmd_aim_wand(void)
sound(SOUND_ZAP);
- /* XXX Hack -- Extract the "sval" effect */
- sval = o_ptr->sval;
-
/* Analyze the wand */
activate_stick(o_ptr->pval2, &obvious, &use_charge);