# | Line 40 | Line 40 | nextssamp( /* compute sample for source, rtn. distan | |
---|---|---|
40 | { | |
41 | int cent[3], size[3], parr[2]; | |
42 | SRCREC *srcp; | |
43 | < | FVECT vpos; |
43 | > | double vpos[3]; |
44 | double d; | |
45 | int i; | |
46 | nextsample: | |
# | Line 84 | Line 84 | nextsample: | |
84 | ||
85 | VSUM(vpos, vpos, cent, 1.0/MAXSPART); | |
86 | /* avoid circular aiming failures */ | |
87 | < | if ((srcp->sflags & SCIR) && (si->np > 1 || dstrsrc > 0.7)) { |
87 | > | if ((srcp->sflags & SCIR) && (si->np > 1) | (dstrsrc > 0.7)) { |
88 | FVECT trim; | |
89 | if (srcp->sflags & (SFLAT|SDISTANT)) { | |
90 | d = 1.12837917; /* correct setflatss() */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |