NetHack 1.4f/rnd.c