* clang support
This commit is contained in:
parent
f9cde509b2
commit
675e7a641a
9 changed files with 19 additions and 14 deletions
|
@ -1173,7 +1173,7 @@ bot_matchpiece_t *BotLoadMatchPieces(source_t *source, char *endtoken)
|
|||
{
|
||||
if (token.type == TT_NUMBER && (token.subtype & TT_INTEGER))
|
||||
{
|
||||
if (token.intvalue < 0 || token.intvalue >= MAX_MATCHVARIABLES)
|
||||
if (token.intvalue >= MAX_MATCHVARIABLES)
|
||||
{
|
||||
SourceError(source, "can't have more than %d match variables\n", MAX_MATCHVARIABLES);
|
||||
FreeSource(source);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue