mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +00:00
ref: soft: remove GetPredictedOrigin() call
This commit is contained in:
parent
acdf1da995
commit
59ddfb787f
@ -881,11 +881,7 @@ static qboolean R_BeamComputePoint( int beamEnt, vec3_t pt )
|
|||||||
if( attach > 0 )
|
if( attach > 0 )
|
||||||
VectorCopy( ent->attachment[attach - 1], pt );
|
VectorCopy( ent->attachment[attach - 1], pt );
|
||||||
else if( ent->index == ( gp_cl->playernum + 1 ))
|
else if( ent->index == ( gp_cl->playernum + 1 ))
|
||||||
{
|
VectorCopy( gp_cl->simorg, pt );
|
||||||
vec3_t simorg;
|
|
||||||
gEngfuncs.GetPredictedOrigin( simorg );
|
|
||||||
VectorCopy( simorg, pt );
|
|
||||||
}
|
|
||||||
else VectorCopy( ent->origin, pt );
|
else VectorCopy( ent->origin, pt );
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -3373,7 +3373,7 @@ void R_RunViewmodelEvents( void )
|
|||||||
|
|
||||||
R_StudioSetupTimings();
|
R_StudioSetupTimings();
|
||||||
|
|
||||||
gEngfuncs.GetPredictedOrigin( simorg );
|
VectorCopy( gp_cl->simorg, simorg );
|
||||||
for( i = 0; i < 4; i++ )
|
for( i = 0; i < 4; i++ )
|
||||||
VectorCopy( simorg, RI.currententity->attachment[i] );
|
VectorCopy( simorg, RI.currententity->attachment[i] );
|
||||||
RI.currentmodel = RI.currententity->model;
|
RI.currentmodel = RI.currententity->model;
|
||||||
|
Loading…
Reference in New Issue
Block a user