OSDN Git Service

[Refactor] #39321 do_cmd_activate_aux() を exe_activate() に改名.
authordeskull <deskull@users.sourceforge.jp>
Sat, 15 Jun 2019 08:28:14 +0000 (17:28 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sat, 15 Jun 2019 08:28:14 +0000 (17:28 +0900)
src/cmd-activate.c
src/cmd-activate.h
src/cmd-item.c

index 4cdf912..900d1f4 100644 (file)
@@ -345,7 +345,7 @@ const activation_type activation_info[] =
  * the user hits "escape" at the "direction" prompt.
  * </pre>
  */
-void do_cmd_activate_aux(INVENTORY_IDX item)
+void exe_activate(INVENTORY_IDX item)
 {
        DIRECTION dir;
        DEPTH lev;
@@ -653,7 +653,7 @@ void do_cmd_activate(void)
        if (!choose_object(&item, q, s, (USE_EQUIP | IGNORE_BOTHHAND_SLOT), 0)) return;
 
        /* Activate the item */
-       do_cmd_activate_aux(item);
+       exe_activate(item);
 }
 
 /*!
index df12f97..a2bb77b 100644 (file)
@@ -1,7 +1,7 @@
 #pragma once
 
 extern void do_cmd_activate(void);
-extern void do_cmd_activate_aux(INVENTORY_IDX item);
+extern void exe_activate(INVENTORY_IDX item);
 extern bool activate_artifact(object_type * o_ptr);
 
 typedef struct {
index a3938e7..5b74cfd 100644 (file)
@@ -1610,7 +1610,7 @@ void do_cmd_use(void)
                /* Activate an artifact */
                default:
                {
-                       do_cmd_activate_aux(item);
+                       exe_activate(item);
                        break;
                }
        }