summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2011-01-25 18:17:28 +0100
committerReiner Herrmann <reiner@reiner-h.de>2011-01-25 18:17:28 +0100
commit6d86b16beda65180daab238a19beece66b104d33 (patch)
tree5f9f8e3bc7f1678fa52dff52c0f30578a7957998 /src/game.c
parent9cdef35633f8ac896b4e5ba4fb0b3bd81824f42c (diff)
fix bug where server is sending message to wrong clients
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c3
1 files changed, 2 insertions, 1 deletions
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();