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>
/*
else
svs.maxclients = 8;
}
+
+ // BloodBath doesn't support single player games
+ if (gamemode == GAME_BLOODBATH && svs.maxclients < 4)
+ svs.maxclients = 4;
+
if (svs.maxclients < 1)
svs.maxclients = 8;
else if (svs.maxclients > MAX_SCOREBOARD)
*/
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
isdown = true;
// keep Con_Printf from trying to update the screen
- scr_disabled_for_loading = true;
+// scr_disabled_for_loading = true;
Host_WriteConfiguration ();