]> granicus.if.org Git - nethack/commit
Fixes for degenerate RNG
authorPasi Kallinen <paxed@alt.org>
Mon, 6 Jan 2020 09:48:16 +0000 (11:48 +0200)
committerPasi Kallinen <paxed@alt.org>
Mon, 6 Jan 2020 09:48:19 +0000 (11:48 +0200)
commitf83dede8e57bec1947687ff74ec98caebd3660a2
tree9e91f1dfd0ecc140c578ede25d7b3770114bcc4a
parentbfa0f072f75d79d329d4ae459e269af19d0ccb83
Fixes for degenerate RNG

Assume a degenerate RNG that always returns the same number.
With these fixes, the game starts and is almost playable.
There are still some places that will go into infinite loop, eg.
the mines level generation.
src/mklev.c
src/mkmaze.c
src/role.c
src/u_init.c