--- ray/src/ot/o_face.c 1991/11/12 17:00:53 2.1 +++ ray/src/ot/o_face.c 2003/07/27 22:12:03 2.3 @@ -1,9 +1,6 @@ -/* Copyright (c) 1986 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: o_face.c,v 2.3 2003/07/27 22:12:03 schorsch Exp $"; #endif - /* * o_face.c - routines for creating octrees for polygonal faces. * @@ -62,7 +59,7 @@ CUBE *cu; vloc = ABOVE | BELOW; /* check vertices */ for (i = 0; i < f->nv; i++) - if (j = plocate(VERTEX(f,i), cumin, cumax)) + if ( (j = plocate(VERTEX(f,i), cumin, cumax)) ) vloc &= j; else return(O_HIT); /* vertex inside */