--- ray/src/common/rglinst.c 2003/11/14 17:22:06 3.13 +++ ray/src/common/rglinst.c 2004/05/25 06:30:46 3.14 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rglinst.c,v 3.13 2003/11/14 17:22:06 schorsch Exp $"; +static const char RCSid[] = "$Id: rglinst.c,v 3.14 2004/05/25 06:30:46 greg Exp $"; #endif /* * Routines for reading instances and converting to OpenGL. @@ -89,8 +89,9 @@ register OBJREC *o; static int -buildoctlist(lp) /* build octree list */ +buildoctlist(lp, p) /* build octree list */ LUENT *lp; +void *p; { int old_dolights = dolights, old_domats = domats; register OCTINST *op = (OCTINST *)lp->data; @@ -119,7 +120,7 @@ loadoctrees() /* load octrees we've saved up */ error(USER, "too many octree levels -- instance loop?"); looptab = ottab; ottab.tsiz = 0; - nocts += lu_doall(&looptab, buildoctlist); + nocts += lu_doall(&looptab, buildoctlist, NULL); lu_done(&looptab); } return(nocts);