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:
helixhorned 2013-02-03 12:48:20 +00:00
parent d82b198799
commit b5aa49953e

View file

@ -929,7 +929,7 @@ int32_t A_Shoot(int32_t i, int32_t atwith)
}
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
hitscan((const vec3_t *)&srcvect,sect,
hitscan(&srcvect,sect,
sintable[(sa+512)&2047],
sintable[sa&2047],zvel<<6,
&hit,CLIPMASK1);
@ -1189,7 +1189,7 @@ int32_t A_Shoot(int32_t i, int32_t atwith)
}
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
hitscan((const vec3_t *)&srcvect,sect,
hitscan(&srcvect,sect,
sintable[(sa+512)&2047],
sintable[sa&2047],zvel<<6,
&hit,CLIPMASK1);
@ -1494,7 +1494,7 @@ int32_t A_Shoot(int32_t i, int32_t atwith)
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
srcvect.z -= zoff;
hitscan((const vec3_t *)&srcvect,sect,
hitscan(&srcvect,sect,
sintable[(sa+512)&2047],
sintable[sa&2047],
zvel<<6,&hit,CLIPMASK1);
@ -1610,7 +1610,7 @@ int32_t A_Shoot(int32_t i, int32_t atwith)
s->cstat &= ~257;
if (actor[i].shootzvel) zvel = actor[i].shootzvel;
hitscan((const vec3_t *)&srcvect,sect,
hitscan(&srcvect,sect,
sintable[(sa+512)&2047],
sintable[sa&2047],
zvel<<6,&hit,CLIPMASK1);