Skip to content

Commit

Permalink
Fixed bug with hexadecimal read number in botlib
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanAizek committed Sep 13, 2023
1 parent 995d0dd commit f5be23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codemp/botlib/l_script.cpp
Original file line number Diff line number Diff line change
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 f5be23e

Please sign in to comment.