diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-08 14:06:54 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-08 14:06:54 +0000 |
commit | d4ea2a59a8866122e63047d3967b9fc3b7a3ddef (patch) | |
tree | faef1aa4ec3388bbc7cdcfd754b10cd56505d6d2 /crawl-ref/source/acr.cc | |
parent | c7ab36b8b51c2fa925fd5245d31e5f98cfa466e0 (diff) | |
download | crawl-ref-d4ea2a59a8866122e63047d3967b9fc3b7a3ddef.tar.gz crawl-ref-d4ea2a59a8866122e63047d3967b9fc3b7a3ddef.zip |
s/cannot_move/cannot_act/ for clarity.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2378 c06c8d41-db1a-0410-9941-cceddc491573
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(); |