From c8452c51957c6cbcaf860d077de02e1ee35c3286 Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 12 Dec 2004 17:47:50 +0000 Subject: (svn r1031) -Fix: [Network] The unique-id was not as unique as I though it was.. --- network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network.c b/network.c index 97f7b33f2..3456355cf 100644 --- a/network.c +++ b/network.c @@ -1130,7 +1130,7 @@ void NetworkGenerateUniqueId() char coding_string[NETWORK_NAME_LENGTH]; int di; - snprintf(coding_string, sizeof(coding_string), "%d%s%d", InteractiveRandom(), "OpenTTD Unique ID", InteractiveRandom()); + snprintf(coding_string, sizeof(coding_string), "%d%s", (uint)Random(), "OpenTTD Unique ID"); /* Generate the MD5 hash */ md5_init(&state); -- cgit v1.2.3-70-g09d2