From 0823cb41be9b7b9c9ed1817d716c9330401c36eb Mon Sep 17 00:00:00 2001 From: cohrs Date: Wed, 31 Jul 2002 16:47:49 +0000 Subject: [PATCH] R1024 - Eyes of the Overworld effect delayed The effect of the EOTO did not take effect until the next move. Added a vision_full_recalc as suggested to resolve the problem. --- doc/fixes34.1 | 2 ++ src/artifact.c | 1 + 2 files changed, 3 insertions(+) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index c1cd5b444..16804d649 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -175,6 +175,8 @@ when using '/' to examine multiple map items in succession, don't mislabel martial arts kick that knocks a monster into a trap would result in warning "dmonsfree: 1 removed doesn't match 2 pending" if the trap was fatal if you can't see or sense a monster when it dies, don't set dknown on corpse +effect of wearing or removing the Eyes of the Overworld took effect on the + next move, but should take effect immediately. Platform- and/or Interface-Specific Fixes diff --git a/src/artifact.c b/src/artifact.c index 99f4a3e76..ca7d446b7 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -439,6 +439,7 @@ long wp_mask; /* this assumes that no one else is using xray_range */ if (on) u.xray_range = 3; else u.xray_range = -1; + vision_full_recalc = 1; } if ((spfx & SPFX_REFLECT) && (wp_mask & W_WEP)) { if (on) EReflecting |= wp_mask; -- 2.40.0