mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Fix warning: suggest parentheses around '&&' within '||' [-Wparentheses]
git-svn-id: https://svn.eduke32.com/eduke32@5863 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1b906d74dd
commit
dcbb2891ae
1 changed files with 2 additions and 2 deletions
|
@ -259,8 +259,8 @@ static int A_FindTargetSprite(const spritetype *pSprite, int projAng, int projec
|
||||||
(GTFLAGS(GAMETYPE_TDM) && g_player[P_Get(spriteNum)].ps->team == g_player[playerNum].ps->team)))
|
(GTFLAGS(GAMETYPE_TDM) && g_player[P_Get(spriteNum)].ps->team == g_player[playerNum].ps->team)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ((gotShrinker && sprite[spriteNum].xrepeat < 30)
|
if ((gotShrinker && sprite[spriteNum].xrepeat < 30
|
||||||
&& (PN(spriteNum) == SHARK || (!(PN(spriteNum) >= GREENSLIME && PN(spriteNum) <= GREENSLIME + 7)))
|
&& (PN(spriteNum) == SHARK || !(PN(spriteNum) >= GREENSLIME && PN(spriteNum) <= GREENSLIME + 7)))
|
||||||
|| (gotFreezer && sprite[spriteNum].pal == 1))
|
|| (gotFreezer && sprite[spriteNum].pal == 1))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue