diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index aaa73e955..eaa6b44dc 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -18,7 +18,7 @@ constexpr auto currentVersion = UPSTREAM_VERSION.displayVersion; constexpr auto nextVersion = Version(99, 1); -static_assert(nextVersion >= currentVersion); +static_assert(!ALLOW_FAKE_NEWER_VERSION || nextVersion >= currentVersion); constexpr auto effectiveVersion = ALLOW_FAKE_NEWER_VERSION ? nextVersion : currentVersion;