summaryrefslogtreecommitdiff
path: root/games/atc/update.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-08 21:56:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-08 21:56:29 +0000
commitd98fdfe46793569057c86d781400222a9c0b23fe (patch)
treeaed801ec7f9bff5887d23276292602ef7efccb2b /games/atc/update.c
parent5482618595acf6e20d70cfe9d0228731eb472567 (diff)
For now, these games still contain deterministic randomization (for
save / replay modes of operation that have not yet been cleaned up). OK, I've let the cat out of the bag, now some of you know you can cheat at them.. ok millert guenther tedu
Diffstat (limited to 'games/atc/update.c')
-rw-r--r--games/atc/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/atc/update.c b/games/atc/update.c
index f6d09de48e6..86536a23e79 100644
--- a/games/atc/update.c
+++ b/games/atc/update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: update.c,v 1.14 2014/07/13 14:01:04 tedu Exp $ */
+/* $OpenBSD: update.c,v 1.15 2014/12/08 21:56:27 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -48,7 +48,7 @@ void
setseed(const char *seed)
{
seeded = 1;
- srandom(atol(seed));
+ srandom_deterministic(atol(seed));
}
uint32_t