From a4eda3c37bb9ec6d9b847e827390a66062229b99 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sun, 8 Nov 2009 16:32:21 +0300 Subject: Use this instead of &you in player::melee_evasion. --- crawl-ref/source/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index cb352bfd18..f54082c9cf 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6344,7 +6344,7 @@ int player::armour_class() const int player::melee_evasion(const actor *act) const { return (player_evasion() - - ((!act || act->visible_to(&you)) ? 0 : 10) + - ((!act || act->visible_to(this)) ? 0 : 10) - (you_are_delayed() && !is_run_delay(current_delay_action())? 5 : 0)); } -- cgit v1.2.3-54-g00ecf