mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
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:
parent
766fb93191
commit
b7e524d5d1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue