1
0
Fork 0
forked from fte/fteqw

mingl fixes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4044 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-05-10 19:14:25 +00:00
parent 15af83a0d8
commit 48d03aff82
3 changed files with 7 additions and 3 deletions

View file

@ -3826,7 +3826,7 @@ void Host_Init (quakeparms_t *parms)
CDAudio_Init (); CDAudio_Init ();
Sbar_Init (); Sbar_Init ();
CL_Init (); CL_Init ();
#if defined(SERVERONLY) || !(defined(CSQC_DAT) || defined(MENU_DAT)) #if defined(CSQC_DAT) || defined(MENU_DAT)
PF_Common_RegisterCvars(); PF_Common_RegisterCvars();
#endif #endif

View file

@ -2626,7 +2626,9 @@ void Surf_Clear(model_t *mod)
BZ_Free(mod->shadowbatches); BZ_Free(mod->shadowbatches);
mod->numshadowbatches = 0; mod->numshadowbatches = 0;
mod->shadowbatches = NULL; mod->shadowbatches = NULL;
#ifdef RTLIGHTS
Sh_PurgeShadowMeshes(); Sh_PurgeShadowMeshes();
#endif
} }
//pick fastest mode for lightmap data //pick fastest mode for lightmap data

View file

@ -4831,10 +4831,12 @@ void SV_Init (quakeparms_t *parms)
#endif #endif
COM_Init (); COM_Init ();
Mod_Init (); Mod_Init ();
PF_Common_RegisterCvars();
} }
#if !(defined(CSQC_DAT) || defined(MENU_DAT))
PF_Common_RegisterCvars();
#endif
PR_Init (); PR_Init ();
SV_InitNet (); SV_InitNet ();