From 4512f44ea10b4a5fdbcd43e808e547d766eed145 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Sun, 8 Aug 2021 23:38:09 +0200 Subject: [PATCH] bump version to 2.3.0 for next release --- include/Common.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/Common.h b/include/Common.h index c23ccdf..39729e5 100644 --- a/include/Common.h +++ b/include/Common.h @@ -50,7 +50,7 @@ public: // Causes all threads to finish up and exit gracefull gracefully static void GracefullyShutdown(); static TConsole& Console() { return *mConsole; } - static std::string ServerVersion() { return "2.2.0"; } + static std::string ServerVersion() { return "2.3.0"; } static std::string ClientVersion() { return "2.0"; } static std::string PPS() { return mPPS; } static void SetPPS(std::string NewPPS) { mPPS = NewPPS; } @@ -111,7 +111,11 @@ extern TSentry Sentry; #define warn(x) Application::Console().Write(_this_location + std::string("[WARN] ") + (x)) #define info(x) Application::Console().Write(_this_location + std::string("[INFO] ") + (x)) -#define error(x) do { Application::Console().Write(_this_location + std::string("[ERROR] ") + (x)); Sentry.AddErrorBreadcrumb((x), _file_basename, _line); } while (false) +#define error(x) \ + do { \ + Application::Console().Write(_this_location + std::string("[ERROR] ") + (x)); \ + Sentry.AddErrorBreadcrumb((x), _file_basename, _line); \ + } while (false) #define luaprint(x) Application::Console().Write(_this_location + std::string("[LUA] ") + (x)) #define debug(x) \ do { \ @@ -123,4 +127,3 @@ extern TSentry Sentry; #define Biggest 30000 std::string Comp(std::string Data); std::string DeComp(std::string Compressed); -