Fix hex digit

This commit is contained in:
Johan Mattsson 2022-02-05 13:46:43 +01:00 committed by Tim Angus
parent c2a0a7d986
commit f7b7d48766

View file

@ -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)