projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put some of important parameters into fixed width signed integers
[open-adventure.git]
/
init.c
diff --git
a/init.c
b/init.c
index be5c3fb271c0da846c96422c6c5e2f4ba6574894..fbe44106e30b3b3148b7bc548ce27d5cc5ca6255 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-37,12
+37,6
@@
struct game_t game = {
.loc = LOC_START,
.limit = GAMELIMIT,
.foobar = WORD_EMPTY,
-
- /* Initialize our LCG PRNG with parameters tested against
- * Knuth vol. 2. by the original authors */
- .lcg_a = 1093,
- .lcg_c = 221587,
- .lcg_m = 1048576,
};
long initialise(void)