NetHack 1.4f/search.c