fix a warning that msvc doesn't pick up but gcc does.

This commit is contained in:
Bill Currie 2000-07-02 06:00:15 +00:00
parent 906ab864c2
commit 0af7b854e8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}