From 7fc7fdb001bea8674fe0dbc1b962f3ec2702debb Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 13 Sep 2025 22:29:08 +0500 Subject: Display 15.x.x for pre-v16.x.x servers --- .vscode/c_cpp_properties.json | 6 +++--- game/client/gui/play_menu.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index b392014..d50221c 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -14,9 +14,9 @@ "_USE_MATH_DEFINES" ], "includePath": [ - "${workspaceFolder}/build/_deps/glfw-src/include", - "${workspaceFolder}/build32/_deps/glfw-src/include", - "${workspaceFolder}/build64/_deps/glfw-src/include", + "${workspaceFolder}/build/unix/**/_deps/glfw-src/include", + "${workspaceFolder}/build/win32/_deps/glfw-src/include", + "${workspaceFolder}/build/win64/_deps/glfw-src/include", "${workspaceFolder}/deps/dr_libs/include", "${workspaceFolder}/deps/emhash/include", "${workspaceFolder}/deps/enet/include", diff --git a/game/client/gui/play_menu.cc b/game/client/gui/play_menu.cc index ad85141..0747e3a 100644 --- a/game/client/gui/play_menu.cc +++ b/game/client/gui/play_menu.cc @@ -292,7 +292,7 @@ static void layout_server_item(ServerStatusItem* item) // Pre v16.x.x servers didn't send minor and patch versions // and also used a different versioning scheme; post v16 the // major version became the protocol version and the semver lost the tweak part - version_toast = std::string("0.0.1"); + version_toast = std::string("15.x.x"); } else { version_toast = std::format("{}.{}.{}", item->game_version_major, item->game_version_minor, item->game_version_patch); -- cgit