mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Revise r6235
git-svn-id: https://svn.eduke32.com/eduke32@6241 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
977c09fa28
commit
0efb2e146e
1 changed files with 3 additions and 0 deletions
|
@ -489,8 +489,11 @@ static void P_PreFireHitscan(int spriteNum, int playerNum, int projecTile, vec3_
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (aimSprite == -1) // no target
|
if (aimSprite == -1) // no target
|
||||||
|
{
|
||||||
notarget:
|
notarget:
|
||||||
*zvel = (100-pPlayer->horiz-pPlayer->horizoff)<<5;
|
*zvel = (100-pPlayer->horiz-pPlayer->horizoff)<<5;
|
||||||
|
}
|
||||||
|
|
||||||
Proj_MaybeAddSpread(doSpread, zvel, shootAng, zRange, angRange);
|
Proj_MaybeAddSpread(doSpread, zvel, shootAng, zRange, angRange);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue