Run CSQC_WorldLoaded after Surf_NewMap to prevent static rtlights and
other fun things from getting flushed on a new map. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5921 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0361787967
commit
be25f43c89
1 changed files with 3 additions and 5 deletions
|
@ -1419,10 +1419,6 @@ static int CL_LoadModels(int stage, qboolean dontactuallyload)
|
||||||
|
|
||||||
SCR_SetLoadingFile("csprogs world");
|
SCR_SetLoadingFile("csprogs world");
|
||||||
|
|
||||||
#ifdef CSQC_DAT
|
|
||||||
CSQC_WorldLoaded();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
endstage();
|
endstage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1491,8 +1487,10 @@ static int CL_LoadModels(int stage, qboolean dontactuallyload)
|
||||||
|
|
||||||
#ifdef CSQC_DAT
|
#ifdef CSQC_DAT
|
||||||
if (atstage())
|
if (atstage())
|
||||||
{
|
{
|
||||||
SCR_SetLoadingFile("csqc init");
|
SCR_SetLoadingFile("csqc init");
|
||||||
|
CSQC_WorldLoaded();
|
||||||
|
|
||||||
if (CSQC_Inited())
|
if (CSQC_Inited())
|
||||||
{
|
{
|
||||||
if (cls.fteprotocolextensions & PEXT_CSQC)
|
if (cls.fteprotocolextensions & PEXT_CSQC)
|
||||||
|
|
Loading…
Reference in a new issue