From d495fa2ffa6f80fd5903aa68230d21bf93b691e7 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Sat, 4 May 2024 11:24:32 +0200 Subject: [PATCH] spawn point --- TCPServer.cpp | 10 +++++----- utils.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index c266230..60ea5fd 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -188,14 +188,14 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) switch (spawnPointNb) { case 3: this->team = BLUE; - /*spawnPoint[0] = 250; + spawnPoint[0] = 250; spawnPoint[1] = 1800; - spawnPoint[2] = 0;*/ - - spawnPoint[0] = 500; - spawnPoint[1] = 1000; spawnPoint[2] = 0; + /*spawnPoint[0] = 500; + spawnPoint[1] = 1000; + spawnPoint[2] = 0;*/ + // For test /*finishPoint[0] = 400; finishPoint[1] = 1790; diff --git a/utils.h b/utils.h index a311cfb..ce106bc 100644 --- a/utils.h +++ b/utils.h @@ -7,7 +7,7 @@ #include #include -#define PI M_PI +#define PI 3.14159265358979323846 enum PinceState { WHITE_FLOWER,