git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11557
d7cf8633-e32d-0410-b094-
e92efae38249
void V_DriftPitch(void);
void V_FadeViewFlashs(void);
void V_CalcViewBlend(void);
+void V_CalcRefdefUsing(const matrix4x4_t *entrendermatrix, const vec3_t clviewangles, qboolean teleported, qboolean clonground, qboolean clcmdjump);
void V_CalcRefdef(void);
void CL_Locs_Reload_f(void);
{
entity_t *ent;
- if (cls.state == ca_connected && cls.signon == SIGNONS)
+ if (cls.state == ca_connected && cls.signon == SIGNONS && !cl.csqc_server2csqcentitynumber[cl.playerentity])
{
// ent is the view entity (visible when out of body)
ent = &cl.entities[cl.viewentity];
viewmodelmatrix_nobob = identitymatrix;
viewmodelmatrix_withbob = identitymatrix;
r_refdef.view.matrix = identitymatrix;
+ VectorClear(cl.csqc_vieworiginfromengine);
+ VectorCopy(cl.viewangles, cl.csqc_viewanglesfromengine);
}
}