mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 03:14:04 +02:00
Fix the "fake" newer version number being actually older
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
#include <algorithm>
|
||||
|
||||
constexpr auto currentVersion = UPSTREAM_VERSION.displayVersion;
|
||||
constexpr auto nextVersion = Version(98, 0);
|
||||
constexpr auto nextVersion = Version(99, 0);
|
||||
static_assert(nextVersion >= currentVersion);
|
||||
|
||||
constexpr auto effectiveVersion = ALLOW_FAKE_NEWER_VERSION ? nextVersion : currentVersion;
|
||||
|
||||
static void ConvertJsonToBson(bson *b, Json::Value j, int depth = 0);
|
||||
|
Reference in New Issue
Block a user