From: terencehill Date: Mon, 13 Mar 2017 00:16:23 +0000 (+0100) Subject: Remove a wasted vectoyaw call X-Git-Tag: xonotic-v0.8.2~64 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=156d29897c1b541ee8c3a210480a00994b34e27b;p=xonotic%2Fxonotic-data.pk3dir.git Remove a wasted vectoyaw call --- diff --git a/qcsrc/server/bot/default/navigation.qc b/qcsrc/server/bot/default/navigation.qc index e026e1c76..9f1d5d922 100644 --- a/qcsrc/server/bot/default/navigation.qc +++ b/qcsrc/server/bot/default/navigation.qc @@ -48,7 +48,6 @@ bool tracewalk(entity e, vector start, vector m1, vector m2, vector end, float m float dist; float totaldist; float stepdist; - float yaw; float ignorehazards; float swimming; @@ -92,7 +91,6 @@ bool tracewalk(entity e, vector start, vector m1, vector m2, vector end, float m } // Movement loop - yaw = vectoyaw(move); move = end - org; for (;;) {