diff options
author | ludde <ludde@openttd.org> | 2005-07-15 20:29:06 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-15 20:29:06 +0000 |
commit | fd0cee74182900b6cdcf679e0fbdd16f0cf59466 (patch) | |
tree | 4082dbe36cd4d476e1d16f70a88eaa90adb7523f /network_client.c | |
parent | ac4f823b547f77781dc6738882a3da601a17dc9b (diff) | |
download | openttd-fd0cee74182900b6cdcf679e0fbdd16f0cf59466.tar.xz |
(svn r2583) Move OS specific code out of misc.c
Added support for Mersenne Twister random number generator (not implemented in network yet)
Wrap player randoms around #ifdef
Diffstat (limited to 'network_client.c')
-rw-r--r-- | network_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/network_client.c b/network_client.c index aad7e57ad..5b6a8bf27 100644 --- a/network_client.c +++ b/network_client.c @@ -488,11 +488,13 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_MAP) // Check if this was the last packet if (maptype == MAP_PACKET_END) { // We also get, very nice, the player_seeds in this packet +#ifdef PLAYER_SEED_RANDOM int i; for (i = 0; i < MAX_PLAYERS; i++) { _player_seeds[i][0] = NetworkRecv_uint32(MY_CLIENT, p); _player_seeds[i][1] = NetworkRecv_uint32(MY_CLIENT, p); } +#endif fclose(file_pointer); |