diff options
Diffstat (limited to 'src/cmd6.cc')
-rw-r--r-- | src/cmd6.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cmd6.cc b/src/cmd6.cc index 953bd7dd..903d5a4d 100644 --- a/src/cmd6.cc +++ b/src/cmd6.cc @@ -3696,8 +3696,6 @@ static void activate_stick(s16b s, bool_ *obvious, bool_ *use_charge) */ void do_cmd_use_staff(void) { - int item, ident; - bool_ obvious, use_charge; object_type *o_ptr; @@ -3723,6 +3721,7 @@ void do_cmd_use_staff(void) /* Get an item */ q = "Use which staff? "; s = "You have no staff to use."; + int item; if (!get_item(&item, q, s, (USE_INVEN | USE_FLOOR | USE_EXTRA))) return; /* Get the item */ @@ -3741,9 +3740,6 @@ void do_cmd_use_staff(void) /* Take a turn */ energy_use = 100; - /* Not identified yet */ - ident = FALSE; - /* get the chance */ int chance; { |