mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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,7 +2961,8 @@ TRACE(("dbg: Surf_NewMap: tp\n"));
|
|||
VectorCopy(mins, cl_static_entities[i].ent.origin);
|
||||
VectorCopy(maxs, cl_static_entities[i].ent.origin);
|
||||
}
|
||||
cl.worldmodel->funcs.FindTouchedLeafs(cl.worldmodel, &cl_static_entities[i].pvscache, mins, maxs);
|
||||
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