• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision19a8c73d7123bc7899575cfa3d97da1a6429139e (tree)
Time2019-06-15 17:34:54
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39321 do_cmd_eat_food_aux() を exe_eat_food() に改名.

Change Summary

Incremental Difference

--- a/src/cmd-eat.c
+++ b/src/cmd-eat.c
@@ -31,7 +31,7 @@
3131 * @param item 食べるオブジェクトの所持品ID
3232 * @return なし
3333 */
34-void do_cmd_eat_food_aux(INVENTORY_IDX item)
34+void exe_eat_food(INVENTORY_IDX item)
3535 {
3636 int ident, lev;
3737 object_type *o_ptr;
@@ -524,6 +524,6 @@ void do_cmd_eat_food(void)
524524 if (!choose_object(&item, q, s, (USE_INVEN | USE_FLOOR), 0)) return;
525525
526526 /* Eat the object */
527- do_cmd_eat_food_aux(item);
527+ exe_eat_food(item);
528528 }
529529
--- a/src/cmd-eat.h
+++ b/src/cmd-eat.h
@@ -1,3 +1,3 @@
11 
22 extern void do_cmd_eat_food(void);
3-extern void do_cmd_eat_food_aux(INVENTORY_IDX item);
3+extern void exe_eat_food(INVENTORY_IDX item);
--- a/src/cmd-item.c
+++ b/src/cmd-item.c
@@ -1556,7 +1556,7 @@ void do_cmd_use(void)
15561556 /* Eat some food */
15571557 case TV_FOOD:
15581558 {
1559- do_cmd_eat_food_aux(item);
1559+ exe_eat_food(item);
15601560 break;
15611561 }
15621562
Show on old repository browser