NetHack 1.3d/search.c