SW: Fix -Warray-bounds

git-svn-id: https://svn.eduke32.com/eduke32@7554 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-10 01:00:24 +00:00 committed by Christoph Oelckers
parent 6c62f4e52d
commit 97e9f1ee75

View file

@ -1264,7 +1264,9 @@ void Ripper2Hatch(short Weapon)
short rip_ang[MAX_RIPPER2S];
rip_ang[0] = RANDOM_P2(2048);
#if MAX_RIPPER2S > 1
rip_ang[1] = NORM_ANGLE(rip_ang[0] + 1024 + (RANDOM_P2(512) - 256));
#endif
for (i = 0; i < MAX_RIPPER2S; i++)
{