Files
nethack/include
PatR e9ec89a903 fix issue #836 - engulfing mounter hero
Reported by copperwater:  if an engulfer swallowed a mounted hero,
odd things could happen if the hero dismounted.  The steed would be
silently expelled and float-down flooreffects were attempted.

It turns out that if the engulfer is classified as an animal (so
purple worm, lurker above, trapper), the hero got "plucked from
<steed>'s saddle" and was forcibly dismounted prior to completing
the engulf operation, but non-animals (vortices, air elemental,
ocher jelly, Juiblex) swallowed the hero+steed intact.  The most
straightforward fix to dismounting-while-engulfed issues is to change
engulfing to always pluck the hero from the saddle even when the
engulfer isn't an animal.

If there's no room on the level to place the former steed, it gets
killed off.  I looked at changing that to put the steed into limbo,
waiting to migrate back to the current level if hero leaves and
subsequently returns, but that breaks movemon()'s assumption that
when monsters are in the process of moving, only the currently moving
one can be taken off the fmon list to be placed on migrating_mons.

[The recently added monster knockback code violates that assumption
too when knocking the victim into a level changer trap.  It needs to
be fixed in one fashion or another.]
2022-08-09 16:22:50 -07:00
..
2022-02-04 11:01:20 -05:00
2022-03-13 13:58:56 -07:00
2022-07-19 21:23:26 +03:00
2022-07-19 21:23:26 +03:00
2022-07-27 12:21:07 +03:00
2022-06-30 23:48:18 -04:00
2022-06-30 23:48:18 -04:00
2022-08-09 11:54:45 +03:00
2022-07-16 15:36:25 -07:00
2022-07-16 20:38:00 -04:00
2021-01-26 21:06:16 -05:00
2022-06-30 23:48:18 -04:00
2022-06-30 23:48:18 -04:00
2022-07-10 11:14:10 -07:00
2022-07-15 13:48:29 -07:00
2022-08-09 11:54:45 +03:00
2022-07-01 08:36:03 -04:00
2022-03-11 07:33:28 -05:00
2022-06-19 02:30:45 -07:00
2022-06-30 23:48:18 -04:00
2022-06-30 23:48:18 -04:00
2022-08-07 22:33:47 +03:00
2022-05-27 15:28:49 -07:00
2022-02-16 23:04:02 +02:00
2022-06-30 23:48:18 -04:00
2022-08-06 10:55:04 +03:00
2022-06-30 23:48:18 -04:00
2022-01-28 08:30:08 +02:00
2022-08-04 16:53:31 -07:00
2022-06-30 23:48:18 -04:00
2021-12-19 19:31:19 -08:00
2022-07-15 13:48:29 -07:00
2022-07-23 23:11:13 -07:00
2022-06-30 23:48:18 -04:00
2022-06-30 23:48:18 -04:00
2022-05-07 10:25:13 -04:00
2022-03-02 13:09:42 -08:00
2022-02-01 13:03:41 -05:00
2020-08-12 16:15:28 -07:00
2022-03-15 13:46:56 +02:00
2022-06-30 23:48:18 -04:00
2021-10-21 08:48:23 -04:00
2022-06-30 23:48:18 -04:00
2022-03-16 21:27:06 -04:00
2021-01-26 10:27:51 -05:00
2022-07-10 11:14:10 -07:00
2022-01-11 10:25:50 -08:00