• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision3155b941e2fb1d913667d8a320cf7cc28e0fb322 (tree)
Time2019-08-13 23:43:41
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39321 cmd_racial_power_aux() を exe_racial_power() に改名.

Change Summary

Incremental Difference

--- a/src/racial.c
+++ b/src/racial.c
@@ -383,7 +383,7 @@ static int racial_aux(power_desc_type *pd_ptr)
383383 * @param command 発動するレイシャルのID
384384 * @return 処理を実際に実行した場合はTRUE、キャンセルした場合FALSEを返す。
385385 */
386-static bool cmd_racial_power_aux(player_type *creature_ptr, s32b command)
386+static bool exe_racial_power(player_type *creature_ptr, s32b command)
387387 {
388388 PLAYER_LEVEL plev = creature_ptr->lev;
389389 DIRECTION dir = 0;
@@ -1999,7 +1999,7 @@ if (!repeat_pull(&i) || i<0 || i>=num) {
19991999 {
20002000 case 1:
20012001 if (power_desc[i].number < 0)
2002- cast = cmd_racial_power_aux(p_ptr, power_desc[i].number);
2002+ cast = exe_racial_power(p_ptr, power_desc[i].number);
20032003 else
20042004 cast = mutation_power_aux(p_ptr, power_desc[i].number);
20052005 break;
Show on old repository browser