From f7b7d4876651dd73d8a8ebdc31cd0588d28a0d37 Mon Sep 17 00:00:00 2001 From: Johan Mattsson <39247600+mjunix@users.noreply.github.com> Date: Sat, 5 Feb 2022 13:46:43 +0100 Subject: [PATCH] Fix hex digit --- code/botlib/l_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/botlib/l_script.c b/code/botlib/l_script.c index c9b68091..c2c59d09 100644 --- a/code/botlib/l_script.c +++ b/code/botlib/l_script.c @@ -643,7 +643,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)