summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index f796518b40..7a66a9538a 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6416,7 +6416,8 @@ int player::melee_evasion(const actor *act) const
{
return (player_evasion()
- ((!act || act->visible()) ? 0 : 10)
- - (you_are_delayed()? 5 : 0));
+ - (you_are_delayed()
+ && !is_run_delay(current_delay_action())? 5 : 0));
}
void player::heal(int amount, bool max_too)