Files
nethack/src
Michael Meyer 1dab134fce Fix: rising from the grave as a zombie
When the hero is killed by a zombie, she is supposed to arise from the
grave as a zombie of a type matching her race.  Commit 580c5a6 broke
this inadvertently -- done_in_by was passing gy.youmonst.data to
zombie_form() and relying on the old behavior where it attempted to
include the hero's race in is_elf, is_orc, etc if the permonst matched
the hero's role.  Because this no longer works, zombie_form was only
returning PM_HUMAN_ZOMBIE when passed the role permonst of an
unpolymorphed hero.  Use gu.urace.zombienum instead.  This would have to
be a little more sophisticated (falling back to zombie_form() if Upolyd)
if a polymorphed hero with unchanging could die via done_in_by but
that's not currently possible as far as I can tell.
2023-09-07 05:35:51 -07: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-04-27 14:53:28 -07:00
2023-06-14 06:13:11 -07:00
2023-06-09 16:09:26 -07:00
2023-08-29 00:45:11 -07:00
2023-04-29 01:48:11 -07:00
2022-10-29 10:54:25 -04:00
2023-06-14 16:14:18 -07:00
2023-07-17 14:27:28 -07:00
2023-08-30 13:38:08 -07:00
2023-06-14 15:54:04 -07:00
2023-09-03 18:27:00 +03:00
2023-09-07 05:35:51 -07:00
2023-05-04 06:02:23 -07:00
2023-03-16 22:27:01 -04:00
2022-11-29 21:53:21 -05:00
2023-03-16 22:27:01 -04:00
2023-08-15 15:48:41 -07:00
2022-09-19 17:32:42 -04:00
2023-08-15 14:12:52 -04:00
2023-07-22 17:54:12 -07:00
2023-05-29 22:39:43 -04:00
2023-04-11 14:21:06 +03:00
2022-11-29 21:53:21 -05:00
2023-07-12 09:48:24 -07:00
2023-04-22 16:10:37 -07:00
2023-05-06 23:12:59 +03:00
2023-08-31 14:58:51 -07:00
2023-03-16 22:27:01 -04:00
2023-06-17 14:15:49 -07:00
2023-06-17 14:15:49 -07:00
2023-03-16 22:27:01 -04:00
2022-11-29 21:53:21 -05:00
2022-11-19 00:49:11 -08:00
2022-12-22 15:07:33 -08:00
2023-05-04 06:02:23 -07:00
2023-04-15 14:25:52 +03:00
2023-08-25 11:43:00 -07:00
2023-05-15 23:14:26 -04:00
2023-04-29 02:18:29 -07:00
2023-04-17 18:47:05 +03:00
2023-05-08 15:21:03 -07:00
2023-03-11 15:12:02 -05:00
2023-04-27 14:53:28 -07:00
2023-06-06 17:50:08 -04:00
2023-05-04 06:02:23 -07:00
2022-11-29 21:53:21 -05:00
2023-02-06 19:23:42 +02:00
2023-07-27 13:11:22 -07:00
2023-03-18 21:47:34 -07:00
2023-03-19 19:36:52 +02:00
2023-03-16 22:27:01 -04:00
2023-08-26 14:13:03 +03:00