From: deskull Date: Tue, 16 Jul 2019 11:28:52 +0000 (+0900) Subject: [Refactor] #39321 do_cmd_tunnel_aux() を exe_tunnel() に改名. X-Git-Tag: vmacos3.0.0-alpha52~2906 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a96b8c7f5f37611ced9a3175b1d1dfaa6ef86875;p=hengbandforosx%2Fhengbandosx.git [Refactor] #39321 do_cmd_tunnel_aux() を exe_tunnel() に改名. --- diff --git a/src/cmd-basic.c b/src/cmd-basic.c index b8f1d7bf2..0e0941837 100644 --- a/src/cmd-basic.c +++ b/src/cmd-basic.c @@ -1083,7 +1083,7 @@ static bool do_cmd_tunnel_test(POSITION y, POSITION x) * Do not use twall anymore * Returns TRUE if repeated commands may continue */ -static bool do_cmd_tunnel_aux(player_type *creature_ptr, POSITION y, POSITION x) +static bool exe_tunnel(player_type *creature_ptr, POSITION y, POSITION x) { grid_type *g_ptr; feature_type *f_ptr, *mimic_f_ptr; @@ -1271,7 +1271,7 @@ void do_cmd_tunnel(player_type *creature_ptr) else { /* Tunnel through walls */ - more = do_cmd_tunnel_aux(creature_ptr, y, x); + more = exe_tunnel(creature_ptr, y, x); } } @@ -1884,7 +1884,7 @@ void do_cmd_alter(void) /* Tunnel through walls */ else if (have_flag(f_ptr->flags, FF_TUNNEL)) { - more = do_cmd_tunnel_aux(p_ptr, y, x); + more = exe_tunnel(p_ptr, y, x); } /* Close open doors */