# | Line 71 | Line 71 | RAY *r; | |
---|---|---|
71 | coef = funvalue(m->oargs.sarg[2], 1, &coef); | |
72 | if (errno) | |
73 | goto computerr; | |
74 | < | raymixture(r, mod[0], mod[1], coef); |
75 | < | return; |
74 | > | if (raymixture(r, mod[0], mod[1], coef)) { |
75 | > | if (m->omod != OVOID) |
76 | > | objerror(m, USER, "inappropriate modifier"); |
77 | > | return(1); |
78 | > | } |
79 | > | return(0); |
80 | computerr: | |
81 | objerror(m, WARNING, "compute error"); | |
82 | + | return(0); |
83 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |