Fix hex digit

This commit is contained in:
Johan Mattsson authored and Tim Angus committed 2022-02-05 13:27:42 +00:00
1 parent c2a0a7d986
commit f7b7d48766
1 file changed
+1 -1
+1 -1
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)