(svn r1031) -Fix: [Network] The unique-id was not as unique as I though it was..
authortruelight
Sun, 12 Dec 2004 17:47:50 +0000
changeset 607 d47e1f2d7bdc
parent 606 0e507bb0f63a
child 608 c9d9823538de
(svn r1031) -Fix: [Network] The unique-id was not as unique as I though it was..
network.c
--- a/network.c	Sun Dec 12 17:42:04 2004 +0000
+++ b/network.c	Sun Dec 12 17:47:50 2004 +0000
@@ -1130,7 +1130,7 @@
 	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);