summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes.txt3
-rw-r--r--src/xtra1.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/changes.txt b/changes.txt
index 94767f8b..c740e5b3 100644
--- a/changes.txt
+++ b/changes.txt
@@ -1,6 +1,7 @@
T.o.M.E 2.3.7 (ah)
--
+- Remove item pval from antimagic field strength calculation since it
+ may be both non-zero and invisible (to the player).
T.o.M.E 2.3.6 (ah)
diff --git a/src/xtra1.c b/src/xtra1.c
index a091f768..37fa8cfe 100644
--- a/src/xtra1.c
+++ b/src/xtra1.c
@@ -2620,7 +2620,7 @@ void apply_flags(u32b f1, u32b f2, u32b f3, u32b f4, u32b f5, u32b esp, s16b pva
if (f4 & (TR4_PRECOGNITION)) p_ptr->precognition = TRUE;
- antimagic_mod = to_h + to_d + pval + to_a;
+ antimagic_mod = to_h + to_d + to_a;
if (f4 & (TR4_ANTIMAGIC_50))
{