mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-25 00:20:16 +00:00
Propagate realm-reported build to world handshake for vanilla compatibility
Some checks failed
Build / Build (arm64) (push) Has been cancelled
Build / Build (x86-64) (push) Has been cancelled
Build / Build (macOS arm64) (push) Has been cancelled
Build / Build (windows-arm64) (push) Has been cancelled
Build / Build (windows-x86-64) (push) Has been cancelled
Security / CodeQL (C/C++) (push) Has been cancelled
Security / Semgrep (push) Has been cancelled
Security / Sanitizer Build (ASan/UBSan) (push) Has been cancelled
Some checks failed
Build / Build (arm64) (push) Has been cancelled
Build / Build (x86-64) (push) Has been cancelled
Build / Build (macOS arm64) (push) Has been cancelled
Build / Build (windows-arm64) (push) Has been cancelled
Build / Build (windows-x86-64) (push) Has been cancelled
Security / CodeQL (C/C++) (push) Has been cancelled
Security / Semgrep (push) Has been cancelled
Security / Sanitizer Build (ASan/UBSan) (push) Has been cancelled
- Prefer realm.build over profile worldBuild when non-zero in CMSG_AUTH_SESSION - Fixes vanilla (1.12.1 build 5875) servers rejecting connection due to wrong build - Suppress v0.0.0 display in realm list when version info is all zeros
This commit is contained in:
parent
16d88f19fc
commit
0e1241ca60
2 changed files with 12 additions and 4 deletions
|
|
@ -179,10 +179,10 @@ void RealmScreen::render(auth::AuthHandler& authHandler) {
|
|||
ImGui::TextColored(ImVec4(0.4f, 0.9f, 1.0f, 1.0f),
|
||||
" - %d character%s", realm.characters, realm.characters > 1 ? "s" : "");
|
||||
}
|
||||
if (realm.hasVersionInfo()) {
|
||||
if (realm.hasVersionInfo() && (realm.majorVersion || realm.build)) {
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled(" v%d.%d.%d",
|
||||
realm.majorVersion, realm.minorVersion, realm.patchVersion);
|
||||
ImGui::TextDisabled(" v%d.%d.%d (build %d)",
|
||||
realm.majorVersion, realm.minorVersion, realm.patchVersion, realm.build);
|
||||
}
|
||||
|
||||
ImGui::Spacing();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue