Fix autoaim bug introduced in r6942

git-svn-id: https://svn.eduke32.com/eduke32@7352 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-02-23 05:10:59 +00:00
parent 766fb93191
commit b7e524d5d1

View file

@ -297,7 +297,7 @@ static int A_FindTargetSprite(const spritetype *pSprite, int projAng, int projec
}
#ifndef EDUKE32_STANDALONE
int const zOffset = (PN(spriteNum) == ORGANTIC || PN(spriteNum) == ROTATEGUN) ? ZOFFSET5 : 0;
int const zOffset = (PN(spriteNum) == ORGANTIC || PN(spriteNum) == ROTATEGUN) ? 0 : ZOFFSET5;
#else
int const zOffset = 0;
#endif