Revise r6235

git-svn-id: https://svn.eduke32.com/eduke32@6241 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-06-23 04:32:16 +00:00
parent 977c09fa28
commit 0efb2e146e

View file

@ -489,8 +489,11 @@ static void P_PreFireHitscan(int spriteNum, int playerNum, int projecTile, vec3_
else
{
if (aimSprite == -1) // no target
{
notarget:
*zvel = (100-pPlayer->horiz-pPlayer->horizoff)<<5;
}
Proj_MaybeAddSpread(doSpread, zvel, shootAng, zRange, angRange);
}