return FALSE;
}
+bool cmd_limit_stun(player_type *creature_ptr)
+{
+ if (creature_ptr->stun)
+ {
+ msg_print(_("頭が朦朧としていて集中できない!", "You are too stuned!"));
+ return TRUE;
+ }
+ return FALSE;
+}
+
bool cmd_limit_arena(player_type *creature_ptr)
{
if (creature_ptr->inside_arena)
extern bool cmd_limit_blind(player_type *creature_ptr);
extern bool cmd_limit_confused(player_type *creature_ptr);
extern bool cmd_limit_image(player_type *creature_ptr);
+extern bool cmd_limit_stun(player_type *creature_ptr);
extern void forget_travel_flow(void);
extern void do_cmd_go_up(void);
extern void do_cmd_go_down(void);
if(cmd_limit_confused(p_ptr)) return;
if(cmd_limit_image(p_ptr)) return;
-
- /* not if stuned */
- if (p_ptr->stun)
- {
- msg_print(_("頭が朦朧としていて集中できない!", "You are too stuned!"));
- return;
- }
+ if(cmd_limit_stun(p_ptr)) return;
if (!get_snipe_power(&n, FALSE)) return;