From ee6e30ead91374f24ee8d02eece32fb356cd80be Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 11 Jun 2023 12:44:44 +0200 Subject: [PATCH] Fix: make 13.2.1 act like 13.2 for networking --- src/network/core/game_info.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/network/core/game_info.cpp b/src/network/core/game_info.cpp index 1576ae4132..6086a24d5e 100644 --- a/src/network/core/game_info.cpp +++ b/src/network/core/game_info.cpp @@ -47,6 +47,10 @@ std::string_view GetNetworkRevisionString() if (network_revision.empty()) { network_revision = _openttd_revision; if (_openttd_revision_tagged) { + /* 13.2.1 is a fix-release with only a single change in the Win32 video driver. + * As such, it is safe to call it 13.2 from a networking point of view. */ + if (network_revision == "13.2.1") network_revision = "13.2"; + /* Tagged; do not mangle further, though ensure it's not too long. */ if (network_revision.size() >= NETWORK_REVISION_LENGTH) network_revision.resize(NETWORK_REVISION_LENGTH - 1); } else {