diff options
Diffstat (limited to 'code/server/sv_init.c')
-rw-r--r-- | code/server/sv_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/server/sv_init.c b/code/server/sv_init.c index 47c9810..874aeaf 100644 --- a/code/server/sv_init.c +++ b/code/server/sv_init.c @@ -475,7 +475,8 @@ void SV_SpawnServer( char *server, qboolean killBots ) { Cvar_Set("cl_paused", "0"); // get a new checksum feed and restart the file system - sv.checksumFeed = ( ((int) random() << 16) ^ random() ) ^ Com_Milliseconds(); + srand(Com_Milliseconds()); + sv.checksumFeed = ( ((int) rand() << 16) ^ rand() ) ^ Com_Milliseconds(); FS_Restart( sv.checksumFeed ); CM_LoadMap( va("maps/%s.bsp", server), qfalse, &checksum ); |