dxx-rebirth/similar
Kp 1f333868eb Fix proximity bomb failure-to-spin
Commit 7d36df315e restructured
draw_weapon_vclip, but unintentionally broke the spin of proximity bombs
because `modtime` could exceed `play_time * 2`, causing
`draw_vclip_object` to clamp `bitmapnum` to the last frame of the
animation.  Switch from `-=` to `%=` so that modtime is always brought
back in range.

Reported-by: Descender1032 <https://forum.dxx-rebirth.com/showthread.php?tid=1005>
Fixes: 7d36df315e ("Simplify draw_weapon_vclip")
2017-12-02 04:31:26 +00:00
..
2d Use constexpr integral_constant for various magic numbers 2017-10-14 17:10:30 +00:00
3d Use constexpr integral_constant for various magic numbers 2017-10-14 17:10:30 +00:00
arch Convert various gr_set_current_canvas calls to reference form 2017-11-05 20:49:08 +00:00
editor Remove write-only Seg_scale 2017-11-05 20:49:09 +00:00
main Fix proximity bomb failure-to-spin 2017-12-02 04:31:26 +00:00
misc Move various SDL-only scanline functions to !DXX_USE_OGL 2017-11-01 02:01:20 +00:00