fix #1727 - offering Rider corpses (trunk only)
The report that killing a Rider on an altar allowed you to sacrifice its corpse was a wizard mode-only phenomenon in 3.4.3 (because you needed to use an altar at some location other than the Astral Plane, hence also needed to use ^G to get the Rider there), so not really a bug. But a post-3.4.3 change has made it possible to offer corpses from the floor on the astral level, unintentionally making it possible to sacrifice Rider corpses. This makdes #offer check specifically for them and trigger their revival if the attempt is made, same as done by pickup.
This commit is contained in:
@@ -1683,6 +1683,7 @@ E int FDECL(collect_obj_classes,
|
||||
E int FDECL(collect_obj_classes,
|
||||
(char *,struct obj *,BOOLEAN_P,BOOLEAN_P,boolean FDECL((*),(OBJ_P)), int *));
|
||||
#endif
|
||||
E boolean FDECL(rider_corpse_revival, (struct obj *,BOOLEAN_P));
|
||||
E void FDECL(add_valid_menu_class, (int));
|
||||
E boolean FDECL(allow_all, (struct obj *));
|
||||
E boolean FDECL(allow_category, (struct obj *));
|
||||
|
||||
Reference in New Issue
Block a user