# | Line 43 | Line 43 | register RAY *r; | |
---|---|---|
43 | /* check for substitute material */ | |
44 | if (m->oargs.nsargs > 0 && | |
45 | (r->rsrc < 0 || source[r->rsrc].so != r->ro)) { | |
46 | < | rayshade(r, modifier(m->oargs.sarg[0])); |
47 | < | return(1); |
46 | > | if (!strcmp(m->oargs.sarg[0], VOIDID)) { |
47 | > | raytrans(r); |
48 | > | return(1); |
49 | > | } |
50 | > | return(rayshade(r, modifier(m->oargs.sarg[0]))); |
51 | } | |
52 | /* check for bad source ray */ | |
53 | if (r->rsrc >= 0 && source[r->rsrc].so != r->ro) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |