From f5be23ef119b67a3492c8a1ac0730bb8c9f8c4ca Mon Sep 17 00:00:00 2001 From: German Semenov Date: Wed, 13 Sep 2023 16:44:03 +0300 Subject: [PATCH] Fixed bug with hexadecimal read number in botlib --- codemp/botlib/l_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codemp/botlib/l_script.cpp b/codemp/botlib/l_script.cpp index 8be425b0c8..ab49c8c62b 100644 --- a/codemp/botlib/l_script.cpp +++ b/codemp/botlib/l_script.cpp @@ -652,7 +652,7 @@ int PS_ReadNumber(script_t *script, token_t *token) //hexadecimal while((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || - (c >= 'A' && c <= 'A')) + (c >= 'A' && c <= 'F')) { token->string[len++] = *script->script_p++; if (len >= MAX_TOKEN)