From f08da1d37398e69104e0a1b5e810b9559553f6c7 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 17 Mar 2024 14:17:35 +0100 Subject: [PATCH] Codechange: the "no revision detected" string is with four zeros (norev0000) (#12328) --- src/network/core/tcp_game.h | 2 +- src/rev.cpp.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h index 7aed964d51..14310f0017 100644 --- a/src/network/core/tcp_game.h +++ b/src/network/core/tcp_game.h @@ -165,7 +165,7 @@ protected: /** * Try to join the server: - * string OpenTTD revision (norev000 if no revision). + * string OpenTTD revision (norev0000 if no revision). * uint32_t NewGRF version (added in 1.2). * string Name of the client (max NETWORK_NAME_LENGTH) (removed in 15). * uint8_t ID of the company to play as (1..MAX_COMPANIES) (removed in 15). diff --git a/src/rev.cpp.in b/src/rev.cpp.in index 1df8b84898..50e2ee0347 100644 --- a/src/rev.cpp.in +++ b/src/rev.cpp.in @@ -28,7 +28,7 @@ bool IsReleasedVersion() * - "", like "..[-RC]", * - "-g" in "master", * - "--g" in other branches, or - * - "norev000", if the version is unknown. + * - "norev0000", if the version is unknown. * * The major, minor and build are the numbers that describe releases of * OpenTTD (like 0.5.3). "-RC" is used to flag release candidates.