mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
SW: Fix -Warray-bounds
git-svn-id: https://svn.eduke32.com/eduke32@7554 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6c62f4e52d
commit
97e9f1ee75
1 changed files with 2 additions and 0 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue