X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fspells2.c;fp=src%2Fspells2.c;h=f3018dd6af380028fd69ffa73d1074f9d3563122;hb=1695014e0b8312f00bd262f1d2ed8f0fc82e7335;hp=d8cf42907d6906d7c5e50e9fa194c1c48af26c8a;hpb=837b9d5b66588dd3c57dd835abb7e790968af116;p=hengband%2Fhengband.git diff --git a/src/spells2.c b/src/spells2.c index d8cf42907..f3018dd6a 100644 --- a/src/spells2.c +++ b/src/spells2.c @@ -2408,7 +2408,7 @@ bool activate_ty_curse(player_type *target_ptr, bool stop_ty, int *count) 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))