Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix duplicate muzzle rendering. #13088
The Render method was rendering all animations for each armament type, so actors with secondary armaments (even if they don't have muzzles) would render the primary muzzleflash once with its normal palette, then again with the secondary muzzle palette.
The real bugfix here is the loop change from armament → animation to armament → barrel. This also simplifies/removes unnecessary some unnecessary checks.