# | Line 415 | Line 415 | register RAY *r; | |
---|---|---|
415 | } | |
416 | ||
417 | ||
418 | < | #define wrongsource(m, r) (m->otype!=MAT_ILLUM && \ |
419 | < | r->rsrc>=0 && \ |
420 | < | source[r->rsrc].so!=r->ro) |
418 | > | #define wrongsource(m, r) (r->rsrc>=0 && \ |
419 | > | source[r->rsrc].so!=r->ro && \ |
420 | > | (m->otype!=MAT_ILLUM || \ |
421 | > | objptr(source[r->rsrc].so->omod)->otype==MAT_ILLUM)) |
422 | ||
423 | #define distglow(m, r) (m->otype==MAT_GLOW && \ | |
424 | r->rot > m->oargs.farg[3]) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |