]> granicus.if.org Git - nethack/commit
a flag to track if vision is ready
authorcohrs <cohrs>
Sun, 24 Feb 2002 18:04:02 +0000 (18:04 +0000)
committercohrs <cohrs>
Sun, 24 Feb 2002 18:04:02 +0000 (18:04 +0000)
commit0a9beba75e7fce5f2bc48db53669be8faeb94e9c
treef3f9d43a0c8e7ef1e8fc9df25118b2b83587bef1
parent490ceaee6cdc4e62b36cc5b158600d26264079d3
a flag to track if vision is ready
- new iflags.vision_inited to determine if vision is ready to go.
- the flag is set the first time vision_reset() completes, actually every time
- vision_recalc() checks the flag before doing anything.
include/flag.h
src/vision.c