From 0efb2e146eb0e43529ed8eea4149db4a8b93a1bc Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 23 Jun 2017 04:32:16 +0000 Subject: [PATCH] Revise r6235 git-svn-id: https://svn.eduke32.com/eduke32@6241 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/player.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index 59fec9def..a31995e27 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -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); }