From e1fed262d640c013dadb69500468eabb352872dd Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 13 Feb 2007 03:00:25 +0000 Subject: [PATCH] OOPS. git-svn-id: https://svn.eduke32.com/eduke32@494 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/player.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index bdea31c38..877ba9ac3 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -589,6 +589,7 @@ int shoot(int i,int atwith) { if (!ps[p].auto_aim) { + zvel = (100-ps[p].horiz-ps[p].horizoff)<<5; if (hittype[i].temp_data[9]) zvel = hittype[i].temp_data[9]; hitscan(sx,sy,sz,sect,sintable[(sa+512)&2047],sintable[sa&2047], zvel<<6,&hitsect,&hitwall,&hitspr,&hitx,&hity,&hitz,CLIPMASK1); @@ -1158,6 +1159,7 @@ DOSKIPBULLETHOLE: { if (!ps[p].auto_aim) { + zvel = (100-ps[p].horiz-ps[p].horizoff)<<5; if (hittype[i].temp_data[9]) zvel = hittype[i].temp_data[9]; hitscan(sx,sy,sz,sect,sintable[(sa+512)&2047],sintable[sa&2047], zvel<<6,&hitsect,&hitwall,&hitspr,&hitx,&hity,&hitz,CLIPMASK1);