mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
player.c: remove a couple of unnecessary casts.
git-svn-id: https://svn.eduke32.com/eduke32@3457 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d82b198799
commit
b5aa49953e
1 changed files with 4 additions and 4 deletions
|
@ -929,7 +929,7 @@ int32_t A_Shoot(int32_t i, int32_t atwith)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
|
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
|
||||||
hitscan((const vec3_t *)&srcvect,sect,
|
hitscan(&srcvect,sect,
|
||||||
sintable[(sa+512)&2047],
|
sintable[(sa+512)&2047],
|
||||||
sintable[sa&2047],zvel<<6,
|
sintable[sa&2047],zvel<<6,
|
||||||
&hit,CLIPMASK1);
|
&hit,CLIPMASK1);
|
||||||
|
@ -1189,7 +1189,7 @@ int32_t A_Shoot(int32_t i, int32_t atwith)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
|
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
|
||||||
hitscan((const vec3_t *)&srcvect,sect,
|
hitscan(&srcvect,sect,
|
||||||
sintable[(sa+512)&2047],
|
sintable[(sa+512)&2047],
|
||||||
sintable[sa&2047],zvel<<6,
|
sintable[sa&2047],zvel<<6,
|
||||||
&hit,CLIPMASK1);
|
&hit,CLIPMASK1);
|
||||||
|
@ -1494,7 +1494,7 @@ int32_t A_Shoot(int32_t i, int32_t atwith)
|
||||||
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
|
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
|
||||||
|
|
||||||
srcvect.z -= zoff;
|
srcvect.z -= zoff;
|
||||||
hitscan((const vec3_t *)&srcvect,sect,
|
hitscan(&srcvect,sect,
|
||||||
sintable[(sa+512)&2047],
|
sintable[(sa+512)&2047],
|
||||||
sintable[sa&2047],
|
sintable[sa&2047],
|
||||||
zvel<<6,&hit,CLIPMASK1);
|
zvel<<6,&hit,CLIPMASK1);
|
||||||
|
@ -1610,7 +1610,7 @@ int32_t A_Shoot(int32_t i, int32_t atwith)
|
||||||
|
|
||||||
s->cstat &= ~257;
|
s->cstat &= ~257;
|
||||||
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
|
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
|
||||||
hitscan((const vec3_t *)&srcvect,sect,
|
hitscan(&srcvect,sect,
|
||||||
sintable[(sa+512)&2047],
|
sintable[(sa+512)&2047],
|
||||||
sintable[sa&2047],
|
sintable[sa&2047],
|
||||||
zvel<<6,&hit,CLIPMASK1);
|
zvel<<6,&hit,CLIPMASK1);
|
||||||
|
|
Loading…
Reference in a new issue