• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision6dba4a64db1e857235a7022d7e332c4fb12eacba (tree)
Time2019-06-15 17:28:14
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39321 do_cmd_activate_aux() を exe_activate() に改名.

Change Summary

Incremental Difference

--- a/src/cmd-activate.c
+++ b/src/cmd-activate.c
@@ -345,7 +345,7 @@ const activation_type activation_info[] =
345345 * the user hits "escape" at the "direction" prompt.
346346 * </pre>
347347 */
348-void do_cmd_activate_aux(INVENTORY_IDX item)
348+void exe_activate(INVENTORY_IDX item)
349349 {
350350 DIRECTION dir;
351351 DEPTH lev;
@@ -653,7 +653,7 @@ void do_cmd_activate(void)
653653 if (!choose_object(&item, q, s, (USE_EQUIP | IGNORE_BOTHHAND_SLOT), 0)) return;
654654
655655 /* Activate the item */
656- do_cmd_activate_aux(item);
656+ exe_activate(item);
657657 }
658658
659659 /*!
--- a/src/cmd-activate.h
+++ b/src/cmd-activate.h
@@ -1,7 +1,7 @@
11 #pragma once
22
33 extern void do_cmd_activate(void);
4-extern void do_cmd_activate_aux(INVENTORY_IDX item);
4+extern void exe_activate(INVENTORY_IDX item);
55 extern bool activate_artifact(object_type * o_ptr);
66
77 typedef struct {
--- a/src/cmd-item.c
+++ b/src/cmd-item.c
@@ -1610,7 +1610,7 @@ void do_cmd_use(void)
16101610 /* Activate an artifact */
16111611 default:
16121612 {
1613- do_cmd_activate_aux(item);
1613+ exe_activate(item);
16141614 break;
16151615 }
16161616 }
Show on old repository browser