giant carrying boulder dies while trapped in a pit (trunk only)
<Someone> wrote: > "You kill the invisible storm giant. The boulder fills a pit." > [...] why did I find the corpse *lying on* and not *buried in* the > former pit? Ensure that the corpse ends up buried in that case.
This commit is contained in:
@@ -1088,7 +1088,7 @@ E int FDECL(bcsign, (struct obj *));
|
||||
E int FDECL(weight, (struct obj *));
|
||||
E struct obj *FDECL(mkgold, (long,int,int));
|
||||
E struct obj *FDECL(mkcorpstat,
|
||||
(int,struct monst *,struct permonst *,int,int,BOOLEAN_P));
|
||||
(int,struct monst *,struct permonst *,int,int,unsigned));
|
||||
E int FDECL(corpse_revive_type, (struct obj *));
|
||||
E struct obj *FDECL(obj_attach_mid, (struct obj *, unsigned));
|
||||
E struct monst *FDECL(get_mtraits, (struct obj *, BOOLEAN_P));
|
||||
|
||||
@@ -143,6 +143,11 @@ NEARDATA extern coord bhitpos; /* place where throw or zap hits or stops */
|
||||
#define MM_IGNOREWATER 0x80 /* ignore water when positioning */
|
||||
#define MM_ADJACENTOK 0x100 /* it is acceptable to use adjacent coordinates */
|
||||
|
||||
/* flags for make_corpse() and mkcorpstat() */
|
||||
#define CORPSTAT_NONE 0x00
|
||||
#define CORPSTAT_INIT 0x01 /* pass init flag to mkcorpstat */
|
||||
#define CORPSTAT_BURIED 0x02 /* bury the corpse or statue */
|
||||
|
||||
/* special mhpmax value when loading bones monster to flag as extinct or genocided */
|
||||
#define DEFUNCT_MONSTER (-100)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user