]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_shared.c
fix for EF_FLAME and lots of other bugs with 16bit/8bit fields (modelindex, frame...
[xonotic/darkplaces.git] / vid_shared.c
index 6730f55f4382e47fd959d031f59106cf83a6a244..2e49b7dd73d614ee4c4f84f73f607a57f9817536 100644 (file)
@@ -173,8 +173,11 @@ void IN_PreMove(void)
 {
 }
 
+void CL_AdjustAngles(void);
 void IN_PostMove(void)
 {
+       // clamp after the move as well to prevent messed up rendering angles
+       CL_AdjustAngles();
 }
 
 void IN_Mouse(usercmd_t *cmd, float mx, float my)