1
0
Fork 0
forked from fte/fteqw

fix a couple of inconsistencies.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4565 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-12-10 20:53:31 +00:00
parent a445b8486a
commit 9d10c167b6
2 changed files with 2 additions and 1 deletions

View file

@ -2262,7 +2262,7 @@ void Surf_DrawWorld (void)
CM_WriteAreaBits(cl.worldmodel, areabits, clientarea);
}
#ifdef Q3BSPS
if (currententity->model->fromgame == fg_quake3)
if (cl.worldmodel->fromgame == fg_quake3)
{
entvis = surfvis = R_MarkLeaves_Q3 ();
Surf_RecursiveQ3WorldNode (cl.worldmodel->nodes, (1<<r_refdef.frustum_numplanes)-1);

View file

@ -1805,6 +1805,7 @@ qbyte *R_MarkLeaves_Q3 (void)
if (r_novis.ival || r_viewcluster == -1 || !cl.worldmodel->vis )
{
vis = NULL;
// mark everything
for (i=0,leaf=cl.worldmodel->leafs ; i<cl.worldmodel->numleafs ; i++, leaf++)
{