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)