From: TimePath Date: Sun, 29 Nov 2015 10:53:10 +0000 (+1100) Subject: Viewmodels: cl_bobmodel: check onground for other players too X-Git-Tag: xonotic-v0.8.2~1601^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7e1b2aa7ed2285e8a9d95fd3dc4173cfe948c842;p=xonotic%2Fxonotic-data.pk3dir.git Viewmodels: cl_bobmodel: check onground for other players too --- 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;