]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/animdecide.qc
Matherize
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / animdecide.qc
index 44b3c1baf5fe68a85080bf3666c1783d10922ee4..b2cc26fd9a96d262377e0c9351bcf0e2df61016e 100644 (file)
@@ -271,7 +271,7 @@ void animdecide_setimplicitstate(entity e, float onground)
        // it slightly less likely to "hit two keys at once", so let's do this
        // here too
 
-       if(vlen(v) > 10)
+       if(vdist(v, >, 10))
        {
                if(v.x >  fabs(v.y) * 0.5)
                        s |= ANIMIMPLICITSTATE_FORWARD;