1
0
Fork 0
forked from fte/fteqw

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();
}
@ -1493,6 +1489,8 @@ static int CL_LoadModels(int stage, qboolean dontactuallyload)
if (atstage())
{
SCR_SetLoadingFile("csqc init");
CSQC_WorldLoaded();
if (CSQC_Inited())
{
if (cls.fteprotocolextensions & PEXT_CSQC)