mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 03:50:36 +00:00
apparently #0 is a valid builtin number, used for some NULL funcs
This commit is contained in:
parent
2a2465c884
commit
cda62cef20
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -3952,7 +3952,7 @@ skipvar:
|
|||
parseerror(parser, "builtin number must be an integer constant");
|
||||
break;
|
||||
}
|
||||
if (parser_token(parser)->constval.i <= 0) {
|
||||
if (parser_token(parser)->constval.i < 0) {
|
||||
parseerror(parser, "builtin number must be an integer greater than zero");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue