diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 76920791..7411905a 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -3256,9 +3256,8 @@ void FS_PureServerSetReferencedPaks( const char *pakSums, const char *pakNames ) Cmd_TokenizeString( pakNames ); d = Cmd_Argc(); - if(d > MAX_SEARCH_PATHS) - d = MAX_SEARCH_PATHS; - else if(d > c) + + if(d > c) d = c; for ( i = 0 ; i < d ; i++ ) {