From 7e1b2aa7ed2285e8a9d95fd3dc4173cfe948c842 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 29 Nov 2015 21:53:10 +1100 Subject: [PATCH] Viewmodels: cl_bobmodel: check onground for other players too --- qcsrc/client/view.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 47a1c0bfc..45629f206 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -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; -- 2.39.2