JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
1.97k stars 606 forks source link

[Shared] misc loop overrun fixes #1201

Closed Razish closed 4 months ago

Razish commented 4 months ago

These looked wrong :shrug: I stumbled upon the PW_NUM_POWERUPS by accident, then found the rest with <=\s*(\w+_)*NUM_\w+

~I'm not 100% sure on the NUM_BEAM_SEGS loops in the renderers - @SomaZ?~ reverted!