From 19b68c334eb1316694e6ac7adcf1bf2f9bc618fa Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 12:16:55 +0000 Subject: [PATCH] Decompile fn_17790 (CLanguageBase::RetreatCursor) Batch #13247 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_17790 CLanguageBase::RetreatCursor: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Client/Input/Language.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Client/Input/Language.cpp b/Source/Client/Input/Language.cpp index 4e1e9f23..c68fc816 100644 --- a/Source/Client/Input/Language.cpp +++ b/Source/Client/Input/Language.cpp @@ -254,7 +254,7 @@ void CLanguageBase::RetreatCursor(int delta) { this->cursor -= delta; } - if (!static_cast(static_cast(GetKeyState(VK_SHIFT)) >> 8)) { + if (!HIBYTE(GetKeyState(VK_SHIFT))) { this->anchor = this->cursor; } }