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:
Eukara 2021-06-29 09:22:56 +00:00
parent 0361787967
commit be25f43c89

View file

@ -1419,10 +1419,6 @@ static int CL_LoadModels(int stage, qboolean dontactuallyload)
SCR_SetLoadingFile("csprogs world");
#ifdef CSQC_DAT
CSQC_WorldLoaded();
#endif
endstage();
}
@ -1491,8 +1487,10 @@ static int CL_LoadModels(int stage, qboolean dontactuallyload)
#ifdef CSQC_DAT
if (atstage())
{
{
SCR_SetLoadingFile("csqc init");
CSQC_WorldLoaded();
if (CSQC_Inited())
{
if (cls.fteprotocolextensions & PEXT_CSQC)