NetHack 2.2a/rnd.c