--- ray/src/hd/rholo2.c 2003/06/30 14:59:12 3.24 +++ ray/src/hd/rholo2.c 2003/07/21 22:30:18 3.26 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rholo2.c,v 3.24 2003/06/30 14:59:12 schorsch Exp $"; +static const char RCSid[] = "$Id: rholo2.c,v 3.26 2003/07/21 22:30:18 schorsch Exp $"; #endif /* * Rtrace support routines for holodeck rendering @@ -38,7 +38,7 @@ GCOORD *gc; gcl->erg2 *= (1./3.) * myeye.rng*myeye.rng; } if (gc != NULL) - copystruct(&gcl->gc, gc); + gcl->gc = *gc; gcl->gmin[0] = gcl->gmin[1] = FHUGE; gcl->gmax[0] = gcl->gmax[1] = -FHUGE; } @@ -277,7 +277,7 @@ done_rtrace() /* clean up and close rtrace calculati int status; /* already closed? */ if (!nprocs) - return; + return(0); /* flush beam queue */ done_packets(flush_queue()); /* sync holodeck */