• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision9d5d595e71b2805a2e15f7a35f16c69779a955a6 (tree)
Time2019-06-15 18:01:35
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39321 do_cmd_read_aux() を exe_read() に改名.

Change Summary

Incremental Difference

--- a/src/cmd-item.c
+++ b/src/cmd-item.c
@@ -1594,7 +1594,7 @@ void do_cmd_use(void)
15941594 if (cmd_limit_blind(p_ptr)) return;
15951595 if (cmd_limit_confused(p_ptr)) return;
15961596
1597- do_cmd_read_scroll_aux(item, TRUE);
1597+ exe_read(item, TRUE);
15981598 break;
15991599 }
16001600
--- a/src/cmd-read.c
+++ b/src/cmd-read.c
@@ -46,7 +46,7 @@
4646 * cancelled before use. XXX Reading them still takes a current_world_ptr->game_turn, though.
4747 * </pre>
4848 */
49-void do_cmd_read_scroll_aux(INVENTORY_IDX item, bool known)
49+void exe_read(INVENTORY_IDX item, bool known)
5050 {
5151 int k, used_up, ident, lev;
5252 object_type *o_ptr;
@@ -650,5 +650,5 @@ void do_cmd_read_scroll(void)
650650 if (!o_ptr) return;
651651
652652 /* Read the scroll */
653- do_cmd_read_scroll_aux(item, object_is_aware(o_ptr));
653+ exe_read(item, object_is_aware(o_ptr));
654654 }
--- a/src/cmd-read.h
+++ b/src/cmd-read.h
@@ -1,4 +1,4 @@
11 
22
3-extern void do_cmd_read_scroll_aux(INVENTORY_IDX item, bool known);
3+extern void exe_read(INVENTORY_IDX item, bool known);
44 extern void do_cmd_read_scroll(void);
Show on old repository browser