From 0af7b854e8fb6a9d0648f8fc2b482ffca2d452f3 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 2 Jul 2000 06:00:15 +0000 Subject: [PATCH] fix a warning that msvc doesn't pick up but gcc does. --- source/gl_rsurf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gl_rsurf.c b/source/gl_rsurf.c index ec94268..aaaa984 100644 --- a/source/gl_rsurf.c +++ b/source/gl_rsurf.c @@ -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; }