diff options
Diffstat (limited to 'src/qcommon/parse.c')
-rw-r--r-- | src/qcommon/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcommon/parse.c b/src/qcommon/parse.c index 136ba0b1..dbe30a1b 100644 --- a/src/qcommon/parse.c +++ b/src/qcommon/parse.c @@ -819,14 +819,14 @@ static int Parse_ReadNumber(script_t *script, token_t *token) { c = *script->script_p; //check for a LONG number - if ( (c == 'l' || c == 'L') // bk001204 - brackets + if ( (c == 'l' || c == 'L') && !(token->subtype & TT_LONG)) { script->script_p++; token->subtype |= TT_LONG; } //check for an UNSIGNED number - else if ( (c == 'u' || c == 'U') // bk001204 - brackets + else if ( (c == 'u' || c == 'U') && !(token->subtype & (TT_UNSIGNED | TT_FLOAT))) { script->script_p++; |