Skip to content

Commit

Permalink
Fixed bug with hexadecimal read number in botlib (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanAizek committed Sep 13, 2023
1 parent 995d0dd commit 802c9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codemp/botlib/l_script.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 802c9b1

Please sign in to comment.