From 156d29897c1b541ee8c3a210480a00994b34e27b Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 13 Mar 2017 01:16:23 +0100 Subject: [PATCH] Remove a wasted vectoyaw call --- qcsrc/server/bot/default/navigation.qc | 2 -- 1 file changed, 2 deletions(-) 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 (;;) { -- 2.39.2