# | Line 379 | Line 379 | char *p; /* data for f */ | |
---|---|---|
379 | if (localhit(&sr, &thescene) && | |
380 | sr.ro != source[cntord[sn].sno].so) { | |
381 | /* check for transmission */ | |
382 | < | rayshade(&sr, sr.ro->omod); |
382 | > | if (sr.clipset != NULL && inset(sr.clipset, sr.ro->omod)) |
383 | > | raytrans(&sr); |
384 | > | else |
385 | > | rayshade(&sr, sr.ro->omod); |
386 | if (bright(sr.rcol) <= FTINY) | |
387 | continue; /* missed! */ | |
388 | (*f)(srccnt[cntord[sn].sno].val, p, |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |