# | Line 86 | Line 86 | marksources() /* find and mark source objects */ | |
---|---|---|
86 | source[ns].sflags |= SSPOT; | |
87 | if ((source[ns].sl.s = makespot(m)) == NULL) | |
88 | goto memerr; | |
89 | + | if (source[ns].sflags & SFLAT && |
90 | + | !checkspot(source[ns].sl.s,source[ns].snorm)) { |
91 | + | objerror(o, WARNING, |
92 | + | "invalid spotlight direction"); |
93 | + | source[ns].sflags |= SSKIP; |
94 | + | } |
95 | } | |
96 | } | |
97 | if (nsources <= 0) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |