| # | Line 281 | Line 281 | srcblocker(register RAY *r) | |
|---|---|---|
| 281 | m = findmaterial(r->ro); | |
| 282 | if (m == NULL) | |
| 283 | return; /* no material?! */ | |
| 284 | < | if (!(ofun[m->otype].flags & T_OPAQUE)) |
| 284 | > | if (!isopaque(m->otype)) |
| 285 | return; /* material not a reliable blocker */ | |
| 286 | *srcobstructp(r) = r->robj; /* else record obstructor */ | |
| 287 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |