| # | Line 15 | Line 15 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 15 | #include "rpaint.h" | |
| 16 | #include "otypes.h" | |
| 17 | #include "otspecial.h" | |
| 18 | – | #include "source.h" |
| 18 | #include "random.h" | |
| 19 | ||
| 20 | #ifndef WFLUSH | |
| # | Line 128 | Line 127 | getinterest( /* get area of interest */ | |
| 127 | VCOPY(thisray.rorg, thisray.rop); | |
| 128 | rayclear(&thisray); /* skip invisible */ | |
| 129 | } | |
| 130 | < | if (thisray.ro == NULL) { |
| 130 | > | if ((thisray.ro == NULL) | (thisray.ro == &Aftplane)) { |
| 131 | error(COMMAND, "not a local object"); | |
| 132 | return(-1); | |
| 133 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |