Skip to content

Commit

Permalink
Fixed bug with hexadecimal read number in botlib (JACoders#1161)
Browse files Browse the repository at this point in the history
(cherry picked from commit 802c9b1)
  • Loading branch information
GermanAizek authored and taysta committed Sep 24, 2023
1 parent aef9777 commit 2993755
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 2993755

Please sign in to comment.