diff options
Diffstat (limited to 'games/rogue/random.c')
-rw-r--r-- | games/rogue/random.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/rogue/random.c b/games/rogue/random.c index 39eb1dd..a721b16 100644 --- a/games/rogue/random.c +++ b/games/rogue/random.c @@ -51,11 +51,11 @@ static char sccsid[] = "@(#)random.c 8.1 (Berkeley) 5/31/93"; */ static long rntb[32] = { - 3, 0x9a319039, 0x32d9c024, 0x9b663182, 0x5da1f342, + 3, 0x9a319039, 0x32d9c024, 0x9b663182, 0x5da1f342, 0xde3b81e0, 0xdf0a6fb5, 0xf103bc02, 0x48f340fb, 0x7449e56b, 0xbeb1dbb0, 0xab5c5918, 0x946554fd, 0x8c2e680f, 0xeb3d799f, 0xb11ee0b7, 0x2d436b86, 0xda672e2a, 0x1588ca88, 0xe369735d, - 0x904f35f7, 0xd7158fd6, 0x6fa6f051, 0x616e6b96, 0xac94efdc, + 0x904f35f7, 0xd7158fd6, 0x6fa6f051, 0x616e6b96, 0xac94efdc, 0x36413f93, 0xc622c298, 0xf5a42ab8, 0x8a88d77b, 0xf5ad9d0e, 0x8999220b, 0x27fb47b9 }; @@ -91,7 +91,7 @@ long rrandom() { long i; - + if (rand_type == 0) { i = state[0] = (state[0]*1103515245 + 12345) & 0x7fffffff; } else { |