--- ray/src/rt/rv2.c 1993/09/09 14:57:53 2.21 +++ ray/src/rt/rv2.c 1993/12/15 16:59:14 2.22 @@ -637,7 +637,8 @@ char *s; (*dev->comout)("ray hit nothing"); else { sprintf(buf, "ray hit %s %s \"%s\"", - objptr(thisray.ro->omod)->oname, + thisray.ro->omod == OVOID ? VOIDID : + objptr(thisray.ro->omod)->oname, ofun[thisray.ro->otype].funame, thisray.ro->oname); (*dev->comout)(buf);