| # | Line 465 | Line 465 | FVECT pos; | |
|---|---|---|
| 465 | { | |
| 466 | FVECT pt, direc; | |
| 467 | ||
| 468 | + | if (pos[2] <= 0) /* empty pixel */ |
| 469 | + | return(-1); |
| 470 | if (hasmatrix) { | |
| 471 | pos[0] += theirview.hoff - .5; | |
| 472 | pos[1] += theirview.voff - .5; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |