mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 12:01:25 +00:00
Fix mid-room skies in q2.
This commit is contained in:
parent
854fb60db8
commit
89ef66642e
1 changed files with 2 additions and 0 deletions
|
@ -1487,6 +1487,7 @@ static int CL_LoadModels(int stage, qboolean dontactuallyload)
|
||||||
SCR_SetLoadingFile("external textures");
|
SCR_SetLoadingFile("external textures");
|
||||||
if (cl.worldmodel && cl.worldmodel->loadstate == MLS_LOADING)
|
if (cl.worldmodel && cl.worldmodel->loadstate == MLS_LOADING)
|
||||||
COM_WorkerPartialSync(cl.worldmodel, &cl.worldmodel->loadstate, MLS_LOADING);
|
COM_WorkerPartialSync(cl.worldmodel, &cl.worldmodel->loadstate, MLS_LOADING);
|
||||||
|
CL_CheckServerInfo(); //some serverinfo rules can change with map type, so make sure they're updated now we're sure we know it properly.
|
||||||
if (cl.worldmodel && cl.worldmodel->loadstate == MLS_LOADED)
|
if (cl.worldmodel && cl.worldmodel->loadstate == MLS_LOADED)
|
||||||
Mod_NowLoadExternal(cl.worldmodel);
|
Mod_NowLoadExternal(cl.worldmodel);
|
||||||
|
|
||||||
|
@ -3706,6 +3707,7 @@ static void CLQ2_ParseServerData (void)
|
||||||
Cvar_ForceCallback(Cvar_FindVar("r_particlesdesc"));
|
Cvar_ForceCallback(Cvar_FindVar("r_particlesdesc"));
|
||||||
|
|
||||||
Surf_PreNewMap();
|
Surf_PreNewMap();
|
||||||
|
CL_CheckServerInfo();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue