git-svn-id: https://svn.eduke32.com/eduke32@494 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2007-02-13 03:00:25 +00:00
parent 4dcb01ae6e
commit e1fed262d6
1 changed files with 2 additions and 0 deletions

View File

@ -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);