NetHack 2.3e/rnd.c