変愚蛮怒のメインリポジトリです
Revision | c26153bac898268e78ecbcf3f8b4fe255c053be1 (tree) |
---|---|
Time | 2019-08-24 18:46:05 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #37353 do_riding() を do_cmd_riding() に改名.
@@ -272,7 +272,7 @@ void do_cmd_pet_dismiss(player_type *creature_ptr) | ||
272 | 272 | * @param force 強制的に騎乗/下馬するならばTRUE |
273 | 273 | * @return 騎乗/下馬できたらTRUE |
274 | 274 | */ |
275 | -bool do_riding(player_type *creature_ptr, bool force) | |
275 | +bool do_cmd_riding(player_type *creature_ptr, bool force) | |
276 | 276 | { |
277 | 277 | POSITION x, y; |
278 | 278 | DIRECTION dir = 0; |
@@ -938,7 +938,7 @@ void do_cmd_pet(player_type *creature_ptr) | ||
938 | 938 | |
939 | 939 | case PET_RIDING: |
940 | 940 | { |
941 | - (void)do_riding(creature_ptr, FALSE); | |
941 | + (void)do_cmd_riding(creature_ptr, FALSE); | |
942 | 942 | break; |
943 | 943 | } |
944 | 944 |
@@ -1,7 +1,7 @@ | ||
1 | 1 | #pragma once |
2 | 2 | #include "grid.h" |
3 | 3 | |
4 | -extern bool do_riding(player_type *creature_ptr, bool force); | |
4 | +extern bool do_cmd_riding(player_type *creature_ptr, bool force); | |
5 | 5 | extern PERCENTAGE calculate_upkeep(player_type *creature_ptr); |
6 | 6 | extern void do_cmd_pet_dismiss(player_type *creature_pt); |
7 | 7 | extern void do_cmd_pet(player_type *creature_ptr); |
@@ -4388,7 +4388,7 @@ bool rodeo(player_type *creature_ptr) | ||
4388 | 4388 | msg_print(_("今は乗馬中だ。", "You ARE riding.")); |
4389 | 4389 | return FALSE; |
4390 | 4390 | } |
4391 | - if (!do_riding(creature_ptr, TRUE)) return TRUE; | |
4391 | + if (!do_cmd_riding(creature_ptr, TRUE)) return TRUE; | |
4392 | 4392 | |
4393 | 4393 | m_ptr = ¤t_floor_ptr->m_list[creature_ptr->riding]; |
4394 | 4394 | r_ptr = &r_info[m_ptr->r_idx]; |