]> granicus.if.org Git - nethack/commit
Ensure that vision is not used during done()
authornethack.allison <nethack.allison>
Wed, 6 Mar 2002 16:51:17 +0000 (16:51 +0000)
committernethack.allison <nethack.allison>
Wed, 6 Mar 2002 16:51:17 +0000 (16:51 +0000)
commitd1b77815096cc0900f802771dfbc2bf8246882be
tree2ffbcfbc33244ce72c72b7b959eb215fa6e6033b
parent7214e1f05c31b7f61752f051286216809c43b8bc
Ensure that vision is not used during done()
(and panic() which calls done())

This uses the flag that <Someone> recently added.

At least one crash in the past was caused by

? -> panic() -> done(11) -> * vision_recalc(2) -> newsym() -> crash!
if  u.ux and u.uy are 0
src/end.c