else if ((roll3 == 2) || (roll3 == 3) || (roll3 == 12))
win = FALSE;
else
+ {
do
{
msg_print(_("なにかキーを押すともう一回振ります。", "Hit any key to roll again"));
else if (roll3 == 7)
win = FALSE;
} while ((win != TRUE) && (win != FALSE));
- break;
+ }
+
+ break;
case BACT_SPIN_WHEEL: /* Spin the Wheel Game */
win = FALSE;
/* Skip unaffected grids */
if (!map[16 + yy - cy][16 + xx - cx]) continue;
- grid_type *g_ptr;
- g_ptr = &floor_ptr->grid_array[yy][xx];
-
/* Destroy location (if valid) */
if (!cave_valid_bold(floor_ptr, yy, xx)) continue;
BIT_FLAGS flg = (PROJECT_GRID | PROJECT_ITEM | PROJECT_KILL | PROJECT_JUMP);
bool is_first_curse = TRUE;
floor_type *floor_ptr = target_ptr->current_floor_ptr;
- while (is_first_curse || one_in_(3) && !stop_ty)
+ while (is_first_curse || (one_in_(3) && !stop_ty))
{
is_first_curse = FALSE;
switch (randint1(34))
* @param turn_aux 状態異常の追加ターン量
* @return なし
*/
-static void hit_trap_set_abnormal_status(concptr trap_message, bool resist, bool(*set_status)(IDX), IDX turn_aux)
-{
- msg_print(trap_message);
- if (!resist)
- {
- set_status(turn_aux);
- }
-}
-
static void hit_trap_set_abnormal_status_p(player_type *trapped_ptr, concptr trap_message, bool resist, bool(*set_status)(player_type *, IDX), IDX turn_aux)
{
msg_print(trap_message);
#define SPELL_MAX 2
debug_spell_command debug_spell_commands_list[SPELL_MAX] =
{
- { 2, "vanish dungeon", {.spell2 = vanish_dungeon} },
- { 3, "true healing", {.spell3 = true_healing} }
+ { 2, "vanish dungeon", {.spell2 = { vanish_dungeon } } },
+ { 3, "true healing", {.spell3 = { true_healing } } }
};
/*!