If nethack is built to use graphical tombstone but file rip.xpm is missing from the playground, there would be a crash if the rip output was shown. My first attempt to fix it prevented the crash but didn't display any tombstone, just the last couple of lines of output which follow the tombstone. This keeps that in case of some other Xpm failure, but checks for rip.xpm via stdio and reverts to genl_outrip for text tombstone if it can't be opened.
17 KiB
17 KiB