losing saddle while riding
Noticed while looking at something else: zapping a wand of opening or spell of knock downwards while riding causes your steed's saddle to fall off, which in turn causes the hero to fall and take some damage. If that damage was fatal, the saddle would be left worn in bones data. This reorganizes mdrop_obj() to defer until last the part that ultimately makes the hero fall off, and changes bhitm() to call that instead of handling saddle removal inline, also gives new saddle-off feedback there.
This commit is contained in:
@@ -2128,6 +2128,7 @@ E void FDECL(remove_worn_item, (struct obj *,BOOLEAN_P));
|
||||
E int FDECL(steal, (struct monst *, char *));
|
||||
E int FDECL(mpickobj, (struct monst *,struct obj *));
|
||||
E void FDECL(stealamulet, (struct monst *));
|
||||
E void FDECL(mdrop_obj, (struct monst *,struct obj *,BOOLEAN_P));
|
||||
E void FDECL(mdrop_special_objs, (struct monst *));
|
||||
E void FDECL(relobj, (struct monst *,int,BOOLEAN_P));
|
||||
#ifdef GOLDOBJ
|
||||
|
||||
Reference in New Issue
Block a user