mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-21 19:01:20 +00:00
fix a warning that msvc doesn't pick up but gcc does.
This commit is contained in:
parent
906ab864c2
commit
0af7b854e8
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void recursivelightupdate(mnode_t *node)
|
|||
recursivelightupdate(node->children[0]);
|
||||
if (node->children[1]->contents >= 0)
|
||||
recursivelightupdate(node->children[1]);
|
||||
if (c = node->numsurfaces)
|
||||
if ((c = node->numsurfaces))
|
||||
for (surf = cl.worldmodel->surfaces + node->firstsurface; c ; c--, surf++)
|
||||
surf->cached_dlight = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue