mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
host.c (Host_Init): Don't call V_Init, Chase_Init, Key_Init, Con_Init, M_Init,
ExtraMaps_Init and Modlist_Init for dedicated servers either. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@233 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
8126ad58a8
commit
1496d179e5
1 changed files with 10 additions and 7 deletions
13
Quake/host.c
13
Quake/host.c
|
@ -815,20 +815,18 @@ void Host_Init (quakeparms_t *parms)
|
|||
Cmd_Init ();
|
||||
LOG_Init (parms);
|
||||
Cvar_Init (); //johnfitz
|
||||
V_Init ();
|
||||
Chase_Init ();
|
||||
COM_Init (parms->basedir);
|
||||
Host_InitLocal ();
|
||||
W_LoadWadFile (); //johnfitz -- filename is now hard-coded for honesty
|
||||
if (cls.state != ca_dedicated)
|
||||
{
|
||||
Key_Init ();
|
||||
Con_Init ();
|
||||
M_Init ();
|
||||
}
|
||||
PR_Init ();
|
||||
Mod_Init ();
|
||||
NET_Init ();
|
||||
SV_Init ();
|
||||
ExtraMaps_Init (); //johnfitz
|
||||
Modlist_Init (); //johnfitz
|
||||
|
||||
Con_Printf ("Exe: "__TIME__" "__DATE__"\n");
|
||||
Con_Printf ("%4.1f megabyte heap\n",parms->memsize/ (1024*1024.0));
|
||||
|
@ -839,6 +837,11 @@ void Host_Init (quakeparms_t *parms)
|
|||
if (!host_colormap)
|
||||
Sys_Error ("Couldn't load gfx/colormap.lmp");
|
||||
|
||||
V_Init ();
|
||||
Chase_Init ();
|
||||
M_Init ();
|
||||
ExtraMaps_Init (); //johnfitz
|
||||
Modlist_Init (); //johnfitz
|
||||
VID_Init ();
|
||||
IN_Init (); // moved here, SDL inits the input system with the video system -- kristian
|
||||
TexMgr_Init (); //johnfitz
|
||||
|
|
Loading…
Reference in a new issue