follow-up for gw.were_changes

This commit is contained in:
nhmall
2025-02-05 08:13:35 -05:00
parent 0d543a8fae
commit a065ced14a
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -328,7 +328,6 @@ moveloop_core(void)
if (gw.were_changes) { if (gw.were_changes) {
/* update innate intrinsics (mainly Drain_resistance) */ /* update innate intrinsics (mainly Drain_resistance) */
set_uasmon(); set_uasmon();
gw.were_changes = 0L;
} }
mkot_trap_warn(); mkot_trap_warn();
dosounds(); dosounds();
+2
View File
@@ -120,6 +120,8 @@ set_uasmon(void)
if (VIA_WINDOWPORT()) if (VIA_WINDOWPORT())
status_initialize(REASSESS_ONLY); status_initialize(REASSESS_ONLY);
#endif #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 */ /* Levitation overrides Flying; set or clear BFlying|I_SPECIAL */