| # | Line 83 | Line 83 | marksources() /* find and mark source objects */ | |
|---|---|---|
| 83 | if (!issurface(o->otype) || o->omod == OVOID) | |
| 84 | continue; | |
| 85 | /* find material */ | |
| 86 | < | m = findmaterial(o); |
| 86 | > | m = findmaterial(objptr(o->omod)); |
| 87 | if (m == NULL || !islight(m->otype)) | |
| 88 | continue; /* not source modifier */ | |
| 89 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |