]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add comment
authorRudolf Polzer <divverent@xonotic.org>
Thu, 22 Nov 2012 16:13:44 +0000 (17:13 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 22 Nov 2012 16:13:44 +0000 (17:13 +0100)
qcsrc/client/csqcmodel_hooks.qc

index 9a3d0a2403908d2720c1350f5f12b5ad8e2b5696..f3c1c198689ed307dbb5b9325e995ce05852e708 100644 (file)
@@ -594,6 +594,7 @@ void CSQCModel_Hook_PreDraw(float isplayer)
                        {
                                if(self.pmove_flags & PMF_ONGROUND)
                                        flg |= FL_ONGROUND;
+                               // FIXME add proper detection whether csqc prediction did a jump, this one is a hack!
                                if(self.pmove_flags & PMF_JUMP_HELD)
                                        if(!(self.anim_prev_pmove_flags & PMF_JUMP_HELD))
                                                animdecide_setaction(self, ANIMACTION_JUMP, TRUE);