OSDN Git Service

[Refactor] #37353 型の置換(do_cmd_aim_wand_aux)。 / Type replacement(do_cmd_aim_wand_aux).
[hengband/hengband.git] / src / cmd-zapwand.c
index 2e066d1..6958555 100644 (file)
@@ -315,7 +315,9 @@ int wand_effect(OBJECT_SUBTYPE_VALUE sval, DIRECTION dir, bool powerful, bool ma
 */
 void do_cmd_aim_wand_aux(INVENTORY_IDX item)
 {
-       int         lev, ident, chance, dir;
+       DEPTH lev;
+       int ident, chance;
+       DIRECTION dir;
        object_type *o_ptr;
        bool old_target_pet = target_pet;
 
@@ -452,7 +454,7 @@ void do_cmd_aim_wand_aux(INVENTORY_IDX item)
 void do_cmd_aim_wand(void)
 {
        OBJECT_IDX item;
-       cptr q, s;
+       concptr q, s;
 
        if (p_ptr->wild_mode) return;