* @param force 強制的に騎乗/下馬するならばTRUE
* @return 騎乗/下馬できたらTRUE
*/
-bool do_riding(player_type *creature_ptr, bool force)
+bool do_cmd_riding(player_type *creature_ptr, bool force)
{
POSITION x, y;
DIRECTION dir = 0;
case PET_RIDING:
{
- (void)do_riding(creature_ptr, FALSE);
+ (void)do_cmd_riding(creature_ptr, FALSE);
break;
}
#pragma once
#include "grid.h"
-extern bool do_riding(player_type *creature_ptr, bool force);
+extern bool do_cmd_riding(player_type *creature_ptr, bool force);
extern PERCENTAGE calculate_upkeep(player_type *creature_ptr);
extern void do_cmd_pet_dismiss(player_type *creature_pt);
extern void do_cmd_pet(player_type *creature_ptr);
msg_print(_("今は乗馬中だ。", "You ARE riding."));
return FALSE;
}
- if (!do_riding(creature_ptr, TRUE)) return TRUE;
+ if (!do_cmd_riding(creature_ptr, TRUE)) return TRUE;
m_ptr = ¤t_floor_ptr->m_list[creature_ptr->riding];
r_ptr = &r_info[m_ptr->r_idx];