mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
15af83a0d8
commit
48d03aff82
3 changed files with 7 additions and 3 deletions
|
@ -3826,7 +3826,7 @@ void Host_Init (quakeparms_t *parms)
|
|||
CDAudio_Init ();
|
||||
Sbar_Init ();
|
||||
CL_Init ();
|
||||
#if defined(SERVERONLY) || !(defined(CSQC_DAT) || defined(MENU_DAT))
|
||||
#if defined(CSQC_DAT) || defined(MENU_DAT)
|
||||
PF_Common_RegisterCvars();
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2626,7 +2626,9 @@ void Surf_Clear(model_t *mod)
|
|||
BZ_Free(mod->shadowbatches);
|
||||
mod->numshadowbatches = 0;
|
||||
mod->shadowbatches = NULL;
|
||||
#ifdef RTLIGHTS
|
||||
Sh_PurgeShadowMeshes();
|
||||
#endif
|
||||
}
|
||||
|
||||
//pick fastest mode for lightmap data
|
||||
|
|
|
@ -4831,10 +4831,12 @@ void SV_Init (quakeparms_t *parms)
|
|||
#endif
|
||||
COM_Init ();
|
||||
Mod_Init ();
|
||||
|
||||
PF_Common_RegisterCvars();
|
||||
}
|
||||
|
||||
#if !(defined(CSQC_DAT) || defined(MENU_DAT))
|
||||
PF_Common_RegisterCvars();
|
||||
#endif
|
||||
|
||||
PR_Init ();
|
||||
|
||||
SV_InitNet ();
|
||||
|
|
Loading…
Reference in a new issue