This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
// host.c -- coordinates spawning and killing of local servers
#include "quakedef.h"
+#include <time.h>
/*
*/
void Host_Init (void)
{
+ // LordHavoc: quake never seeded the random number generator before... heh
+ srand(time(NULL));
+
com_argc = host_parms.argc;
com_argv = host_parms.argv;
// FIXME: this is evil, but possibly temporary