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.
This commit is contained in:
cohrs
2002-07-31 16:47:49 +00:00
parent a849315988
commit 0823cb41be
2 changed files with 3 additions and 0 deletions

View File

@@ -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

View File

@@ -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;