# | Line 54 | Line 54 | RAY *r; | |
---|---|---|
54 | coef = evalue(mf->ep[0]); | |
55 | if (errno) { | |
56 | objerror(m, WARNING, "compute error"); | |
57 | < | return; |
57 | > | return(0); |
58 | } | |
59 | < | raymixture(r, mod[0], mod[1], coef); |
59 | > | if (raymixture(r, mod[0], mod[1], coef)) { |
60 | > | if (m->omod != OVOID) |
61 | > | objerror(m, USER, "inappropriate modifier"); |
62 | > | return(1); |
63 | > | } |
64 | > | return(0); |
65 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |