mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
OOPS.
git-svn-id: https://svn.eduke32.com/eduke32@494 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4dcb01ae6e
commit
e1fed262d6
1 changed files with 2 additions and 0 deletions
|
@ -589,6 +589,7 @@ int shoot(int i,int atwith)
|
||||||
{
|
{
|
||||||
if (!ps[p].auto_aim)
|
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];
|
if (hittype[i].temp_data[9]) zvel = hittype[i].temp_data[9];
|
||||||
hitscan(sx,sy,sz,sect,sintable[(sa+512)&2047],sintable[sa&2047],
|
hitscan(sx,sy,sz,sect,sintable[(sa+512)&2047],sintable[sa&2047],
|
||||||
zvel<<6,&hitsect,&hitwall,&hitspr,&hitx,&hity,&hitz,CLIPMASK1);
|
zvel<<6,&hitsect,&hitwall,&hitspr,&hitx,&hity,&hitz,CLIPMASK1);
|
||||||
|
@ -1158,6 +1159,7 @@ DOSKIPBULLETHOLE:
|
||||||
{
|
{
|
||||||
if (!ps[p].auto_aim)
|
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];
|
if (hittype[i].temp_data[9]) zvel = hittype[i].temp_data[9];
|
||||||
hitscan(sx,sy,sz,sect,sintable[(sa+512)&2047],sintable[sa&2047],
|
hitscan(sx,sy,sz,sect,sintable[(sa+512)&2047],sintable[sa&2047],
|
||||||
zvel<<6,&hitsect,&hitwall,&hitspr,&hitx,&hity,&hitz,CLIPMASK1);
|
zvel<<6,&hitsect,&hitwall,&hitspr,&hitx,&hity,&hitz,CLIPMASK1);
|
||||||
|
|
Loading…
Reference in a new issue