From a065ced14a018b58f58c7d1884ed4fe7f58b8f36 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 5 Feb 2025 08:13:35 -0500 Subject: [PATCH] follow-up for gw.were_changes --- src/allmain.c | 1 - src/polyself.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/allmain.c b/src/allmain.c index 918da029a..87235a252 100644 --- a/src/allmain.c +++ b/src/allmain.c @@ -328,7 +328,6 @@ moveloop_core(void) if (gw.were_changes) { /* update innate intrinsics (mainly Drain_resistance) */ set_uasmon(); - gw.were_changes = 0L; } mkot_trap_warn(); dosounds(); diff --git a/src/polyself.c b/src/polyself.c index 623bf1976..625d00720 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -120,6 +120,8 @@ set_uasmon(void) if (VIA_WINDOWPORT()) status_initialize(REASSESS_ONLY); #endif + /* we can reset this now, having just done what it is meant to trigger */ + gw.were_changes = 0L; } /* Levitation overrides Flying; set or clear BFlying|I_SPECIAL */