diff --git a/TCPServer.cpp b/TCPServer.cpp index d97bfc1..95f1c57 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 < 4000) { value = 0; }