View Single Post
Old 11-15-2011, 02:03 AM   #227
-=*Raz0r*=-'s Avatar
Join Date: Oct 2006
Location: Australia
Posts: 243
Prediction error after spectating somebody who is on an ET_MOVER then switching to roaming mode.

Modify the start of CG_AdjustPositionForMover (cg_ents.c) to match:

void CG_AdjustPositionForMover( const vec3_t in, int moverNum, int fromTime, int toTime, vec3_t out ) {
	centity_t	*cent;
	vec3_t	oldOrigin, origin, deltaOrigin;
	vec3_t	oldAngles, angles, deltaAngles;

	if ( cg.predictedPlayerState.persistant[PERS_TEAM] == TEAM_SPECTATOR )
	{//Don't bother if we're a spectator
		VectorCopy( in, out );

-=*Raz0r*=- is offline   you may: quote & reply,