Files
nethack/src
Michael Meyer fe8710532e Fix: latent bug with finish_meating on catchup
Some players of 3.6 recently noticed that sometimes, mimics in shops
seemed to have moved around even before the player had entered the shop
or done anything to uncloak them.  I found that this was because
finish_meating was being called for all non-eating monsters when
restoring a level (monsters that weren't eating anything would have
meating == 0 so always pass the 'imv > meating' check).  This would
uncloak mimics -- but not all the time, because the 'mappearance != 0'
test meant mimics disguised as strange objects weren't uncloaked.  I
think that was meant to be an additional check to confirm the monster
really did have a disguise, but in reality it meant that M_AP_OBJECT
"strange object", M_AP_MONSTER "giant ant", etc disguises wouldn't be
removed by finish_meating.

As it turns out, this was mostly fixed by coincidence in 221e4a7, which
fixed the "exclude actual mimics" check in finish_meating.  So at this
point in 3.7 it's largely a latent bug, but it still had the potential
to improperly uncloak non-mimics who can disguise themselves (like the
Wizard of Yendor, maybe?), and could cause other problems if
finish_meating were updated to have additional effects, or if some
monster types were made to disguise themselves as a strange object when
eating a mimic.
2023-11-30 18:05:34 -08:00
..
2022-02-04 09:41:30 -05:00
2023-02-08 17:17:43 -05:00
2023-06-21 03:31:41 -07:00
2023-11-13 19:28:19 -05:00
2023-11-13 19:28:19 -05:00
2023-11-17 09:47:39 -05:00
2023-11-28 00:31:21 -08:00
2023-11-22 16:01:58 -05:00
2023-11-13 20:31:02 -05:00
2023-11-13 19:28:19 -05:00
2023-11-25 21:14:22 -05:00
2023-11-22 16:01:58 -05:00
2023-11-17 00:43:06 -08:00
2023-11-30 11:15:32 -05:00
2023-11-17 09:47:39 -05:00
2023-11-13 20:31:02 -05:00
2023-03-16 22:27:01 -04:00
2022-11-29 21:53:21 -05:00
2023-11-30 11:15:32 -05:00
2023-11-11 19:49:38 -05:00
2023-11-30 11:15:32 -05:00
2023-03-16 22:27:01 -04:00
2023-11-30 11:15:32 -05:00
2022-09-19 17:32:42 -04:00
2023-11-22 16:01:58 -05:00
2023-10-02 20:25:58 +03:00
2022-11-29 21:53:21 -05:00
2023-11-30 12:19:16 -05:00
2023-11-13 20:31:02 -05:00
2023-11-13 19:28:19 -05:00
2023-11-30 16:37:07 -08:00
2023-11-13 20:31:02 -05:00
2023-11-13 20:31:02 -05:00
2023-11-13 20:31:02 -05:00
2023-11-22 16:01:58 -05:00
2023-11-12 10:26:59 -08:00
2023-11-20 12:26:51 -08:00
2023-11-30 11:15:32 -05:00
2023-11-13 19:40:49 -05:00
2023-10-29 21:02:47 -04:00
2023-11-11 19:49:38 -05:00
2023-03-16 22:27:01 -04:00
2023-11-13 20:31:02 -05:00
2022-11-29 21:53:21 -05:00
2023-11-13 20:31:02 -05:00
2023-11-30 11:15:32 -05:00
2023-04-15 14:25:52 +03:00
2023-10-16 09:11:05 -04:00
2023-05-15 23:14:26 -04:00
2023-11-13 20:31:02 -05:00
2023-11-01 02:08:39 -07:00
2023-11-13 19:28:19 -05:00
2023-11-13 20:31:02 -05:00
2023-03-11 15:12:02 -05:00
2023-11-13 20:31:02 -05:00
2023-04-27 14:53:28 -07:00
2023-11-30 11:15:32 -05:00
2023-05-04 06:02:23 -07:00
2023-02-06 19:23:42 +02:00
2023-11-30 11:15:32 -05:00
2023-10-03 10:57:29 +03:00
2023-03-16 22:27:01 -04:00
2023-11-30 11:15:32 -05:00