mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-05 13:20:56 +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
|
#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
|
#else
|
||||||
int const zOffset = 0;
|
int const zOffset = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue