]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Viewmodels: cl_bobmodel: check onground for other players too
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index 47a1c0bfc5f7538a63d2ab9c134d3b7763d26b5e..45629f206af44a9dbf4ee3491dfbe55a6068dd08 100644 (file)
@@ -119,7 +119,7 @@ void viewmodel_animate(entity this)
 
        entity view = CSQCModel_server2csqc(player_localentnum);
 
-       bool clonground = boolean(view.pmove_flags & PMF_ONGROUND);
+       bool clonground = !(view.anim_implicit_state & ANIMIMPLICITSTATE_INAIR);
        static bool oldonground;
        static float hitgroundtime;
        static float lastongroundtime;