void CSQCModel_Draw()
{
- InterpolateOrigin_Do();
+ // we don't do this for the local player as that one is already handled
+ // by CSQCPlayer_SetCamera()
+ if(!CSQCPlayer_IsLocalPlayer())
+ InterpolateOrigin_Do();
+
// TODO csqcplayers: run prediction here too
CSQCModel_InterpolateAnimation_Do();
input_angles = view_angles;
}
+float CSQCPlayer_IsLocalPlayer()
+{
+ return (self == csqcplayer);
+}
+
void CSQCPlayer_SetCamera()
{
if(csqcplayer)
void CSQCPlayer_SetCamera();
float CSQCPlayer_PreUpdate();
float CSQCPlayer_PostUpdate();
+float CSQCPlayer_IsLocalPlayer();