more thrown object cleanup

Handle thrown or kicked object that's in transit for hangup save and
panic save in addition to normal end of game.  Affects ball and chain
placement too, if they've been temporarily taken off the map.
This commit is contained in:
PatR
2022-02-25 07:10:30 -08:00
parent 2012254c39
commit ca97f4f3dd
3 changed files with 11 additions and 5 deletions

View File

@@ -744,6 +744,7 @@ extern boolean Popeye(int);
extern void done1(int);
extern int done2(void);
extern void done_in_by(struct monst *, int);
extern void done_object_cleanup(void);
#endif /* !MAKEDEFS_C && MDLIB_C */
extern void panic(const char *, ...) PRINTF_F(1, 2) NORETURN;
#if !defined(MAKEDEFS_C) && !defined(MDLIB_C)