From 6d86b16beda65180daab238a19beece66b104d33 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Tue, 25 Jan 2011 18:17:28 +0100 Subject: fix bug where server is sending message to wrong clients --- src/game.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index c6341a8..9810e9f 100644 --- a/src/game.c +++ b/src/game.c @@ -108,7 +108,8 @@ void start_game(const bool servermode, const char* addr, const char* port) socket_list_t client_socks; uint8_t num_players = 2; - srand(time(0)); // Initialize RNG + //srand(time(0)); // Initialize RNG + srand(1337); data_store_t *data = data_store(); -- cgit v1.2.3