| # | Line 176 | Line 176 | register RAY *r; | |
|---|---|---|
| 176 | } else { /* leaving ray */ | |
| 177 | if (myslist != NULL) { /* delete from list */ | |
| 178 | for (j = myslist[0]; j > 0; j--) | |
| 179 | < | if (i = inslist(p.slights, myslist[j])) |
| 179 | > | if ( (i = inslist(p.slights, myslist[j])) ) |
| 180 | p.slights[i] = -1; | |
| 181 | for (i = 0, j = 1; j <= p.slights[0]; j++) | |
| 182 | if (p.slights[j] != -1) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |