mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
SW: Fix warning: array subscript is above array bounds [-Warray-bounds]
git-svn-id: https://svn.eduke32.com/eduke32@5228 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7f2a6a8404
commit
d8ee28b89d
2 changed files with 2 additions and 2 deletions
|
@ -1424,7 +1424,7 @@ MoreKeys(short searchstat, short searchwall, short searchsector, short pointhigh
|
|||
|
||||
|
||||
|
||||
if (KEY_PRESSED(KEYSC_RALT + 128) && KEY_PRESSED(KEYSC_RCTRL + 128))
|
||||
if (KEY_PRESSED(KEYSC_RALT) && KEY_PRESSED(KEYSC_RCTRL))
|
||||
{
|
||||
if (KEY_PRESSED(KEYSC_KPMINUS))
|
||||
{
|
||||
|
|
|
@ -1253,7 +1253,7 @@ void RipperHatch(short Weapon)
|
|||
short rip_ang[MAX_RIPPERS];
|
||||
|
||||
rip_ang[0] = RANDOM_P2(2048);
|
||||
rip_ang[1] = NORM_ANGLE(rip_ang[0] + 1024 + (RANDOM_P2(512) - 256));
|
||||
// rip_ang[1] = NORM_ANGLE(rip_ang[0] + 1024 + (RANDOM_P2(512) - 256));
|
||||
|
||||
for (i = 0; i < MAX_RIPPERS; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue