Duke: Fix -Wparentheses

git-svn-id: https://svn.eduke32.com/eduke32@7566 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-10 01:01:30 +00:00 committed by Christoph Oelckers
parent 30d4f29b42
commit 1ab7175c90

View file

@ -276,9 +276,9 @@ static int A_FindTargetSprite(const spritetype *pSprite, int projAng, int projec
continue; continue;
#ifndef EDUKE32_STANDALONE #ifndef EDUKE32_STANDALONE
if (!IONMAIDEN && (isShrinker && sprite[spriteNum].xrepeat < 30 if (!IONMAIDEN && ((isShrinker && sprite[spriteNum].xrepeat < 30
&& (PN(spriteNum) == SHARK || !(PN(spriteNum) >= GREENSLIME && PN(spriteNum) <= GREENSLIME + 7))) && (PN(spriteNum) == SHARK || !(PN(spriteNum) >= GREENSLIME && PN(spriteNum) <= GREENSLIME + 7)))
|| (isFreezer && sprite[spriteNum].pal == 1)) || (isFreezer && sprite[spriteNum].pal == 1)))
continue; continue;
#endif #endif
} }