mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 01:42:12 +00:00
* Merge unified-sdl to trunk
* Bump Q3_VERSION to 1.35
This commit is contained in:
parent
39abffeb3b
commit
672cfbf16f
188 changed files with 5071 additions and 41739 deletions
|
@ -706,14 +706,14 @@ int PS_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;
|
||||
} //end if
|
||||
//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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue