mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +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)))
|
||||
continue;
|
||||
|
||||
if ((gotShrinker && sprite[spriteNum].xrepeat < 30)
|
||||
&& (PN(spriteNum) == SHARK || (!(PN(spriteNum) >= GREENSLIME && PN(spriteNum) <= GREENSLIME + 7)))
|
||||
if ((gotShrinker && sprite[spriteNum].xrepeat < 30
|
||||
&& (PN(spriteNum) == SHARK || !(PN(spriteNum) >= GREENSLIME && PN(spriteNum) <= GREENSLIME + 7)))
|
||||
|| (gotFreezer && sprite[spriteNum].pal == 1))
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue