diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 7385ce5c68..9cbae70618 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1276,7 +1276,7 @@ static void input() learned_something_new(TUT_RETREAT_CASTER); } - if ( you.cannot_move() ) + if ( you.cannot_act() ) { crawl_state.cancel_cmd_repeat("Cannot move, cancelling command " "repetition."); @@ -2694,7 +2694,7 @@ static void world_reacts() run_environment_effects(); - if ( !you.cannot_move() && !you.mutation[MUT_BLURRY_VISION] && + if ( !you.cannot_act() && !you.mutation[MUT_BLURRY_VISION] && (you.mutation[MUT_ACUTE_VISION] >= 2 || random2(50) < you.skills[SK_TRAPS_DOORS]) ) { @@ -2798,7 +2798,7 @@ static void world_reacts() // food death check: if (you.is_undead != US_UNDEAD && you.hunger <= 500) { - if (!you.cannot_move() && one_chance_in(40)) + if (!you.cannot_act() && one_chance_in(40)) { mpr("You lose consciousness!", MSGCH_FOOD); you.duration[DUR_PARALYSIS] += 5 + random2(8); @@ -2839,7 +2839,7 @@ static void world_reacts() */ viewwindow(true, false); - if (you.cannot_move() && any_messages()) + if (you.cannot_act() && any_messages()) more(); spawn_random_monsters(); |