diff options
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 55396704..9f7d26d5 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -1440,9 +1440,9 @@ static qboolean CG_ClientIsReady( int clientNum ) if( isdigit( *s ) ) val = *s - '0'; - else if( isxlower( *s ) ) + else if( *s >= 'a' && *s <= 'f' ) val = 10 + *s - 'a'; - else if( isxupper( *s ) ) + else if( *s >= 'A' && *s <= 'F' ) val = 10 + *s - 'A'; else return qfalse; |