From 132f14a12ffead8eab2177f911109b90fd6c7efa Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 27 May 2024 16:49:57 +0200 Subject: [PATCH] value --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index a3a986d..d97bfc1 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -187,7 +187,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) else if (args[0] == "1") { int speed; - if (value > 4000 && value > 400) { + if (value > -4000 && value > 400) { value = 0; }