if (d >= 9) continue;
- if (!in_bounds(y, x) || !projectable(py, px, y, x)) continue;
+ if (!in_bounds(y, x) || !projectable(py, px, y, x)
+ || !cave_have_flag_bold(y, x, FF_PROJECT)) continue;
/* Valid position */
break;
/* Move the player */
if (!move_player_effect(y, x, MPE_FORGET_FLOW | MPE_HANDLE_STUFF | MPE_DONT_PICKUP)) break;
}
-
+ else
+ {
+ break;
+ }
+
/* -more- */
if (i < 2) msg_print(NULL);
}
{
#ifdef JP
msg_print("Éð»ÎÆ»¤È¤Ï¡¢»à¤Ì¤³¤È¤È¸«¤Ä¤±¤¿¤ê¡£");
- take_hit(DAMAGE_FORCE, 9999, "ÀÚÊ¢", -1);
#else
msg_print("Meaning of Bushi-do is found in the death.");
- take_hit(DAMAGE_FORCE, 9999, "Seppuku", -1);
#endif
+ take_hit(DAMAGE_FORCE, 9999, "Seppuku", -1);
}
}
break;