From 483a93f994b3b7643947d746b6e225a529e4dfb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Th=C3=BCning?= Date: Wed, 16 Oct 2024 21:52:10 +0200 Subject: [PATCH] increment protocol version --- main.cpp | 2 +- server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 85d26c8..1c34ab9 100644 --- a/main.cpp +++ b/main.cpp @@ -53,7 +53,7 @@ struct State void physics(State &state, const std::vector &initialPlayers, std::optional &serverAddress) { - constexpr uint16_t PROTOCOL_VERSION = 0; + constexpr uint16_t PROTOCOL_VERSION = 1; int udpSocket = -1; try { diff --git a/server.cpp b/server.cpp index 8bb970a..e1bb51e 100644 --- a/server.cpp +++ b/server.cpp @@ -29,7 +29,7 @@ struct Client void receive(int &udpSocket, std::vector &clients, bool &running) { - constexpr uint16_t PROTOCOL_VERSION = 0; + constexpr uint16_t PROTOCOL_VERSION = 1; try { while (running)