fix crash caused by missing bsp.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4938 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
845c0782cf
commit
b247f3e076
1 changed files with 2 additions and 1 deletions
|
@ -2961,6 +2961,7 @@ TRACE(("dbg: Surf_NewMap: tp\n"));
|
|||
VectorCopy(mins, cl_static_entities[i].ent.origin);
|
||||
VectorCopy(maxs, cl_static_entities[i].ent.origin);
|
||||
}
|
||||
if (cl.worldmodel->funcs.FindTouchedLeafs)
|
||||
cl.worldmodel->funcs.FindTouchedLeafs(cl.worldmodel, &cl_static_entities[i].pvscache, mins, maxs);
|
||||
cl_static_entities[i].emit = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue