# | Line 16 | Line 16 | static const char RCSid[] = "$Id$"; | |
---|---|---|
16 | #include "platform.h" | |
17 | #include "ranimove.h" | |
18 | #include "otypes.h" | |
19 | + | #include "otspecial.h" |
20 | #include "source.h" | |
21 | #include "random.h" | |
22 | ||
# | Line 329 | Line 330 | setmotion( /* compute motion vector for this pixel */ | |
330 | multp3(ovp, wpos, obj_move[moi].bxfm); | |
331 | wpos = ovp; | |
332 | } | |
333 | < | viewloc(ovp, &vwprev, wpos); |
333 | < | if (ovp[2] <= FTINY) |
333 | > | if (viewloc(ovp, &vwprev, wpos) <= 0) |
334 | return; | |
335 | xp = (int)(ovp[0]*hres); | |
336 | yp = (int)(ovp[1]*vres); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |