From 1550ab3c5d17787bcb9885c045db2f07aa4971ac Mon Sep 17 00:00:00 2001
From: est31 <MTest31@outlook.com>
Date: Tue, 3 Nov 2015 15:29:52 +0100
Subject: [PATCH] Only go fast in autorun if fast move is enabled

---
 src/localplayer.cpp | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 96e2737c7..e55464479 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -512,15 +512,16 @@ void LocalPlayer::applyControl(float dtime)
 		}
 	}
 
-	if(continuous_forward)
+	if (continuous_forward)
 		speedH += move_direction;
 
-	if(control.up)
-	{
-		if(continuous_forward)
-			superspeed = true;
-		else
+	if (control.up) {
+		if (continuous_forward) {
+			if (fast_move)
+				superspeed = true;
+		} else {
 			speedH += move_direction;
+		}
 	}
 	if(control.down)
 	{
-- 
GitLab