aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/qcommon/files.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/code/qcommon/files.c b/code/qcommon/files.c
index 7692079..7411905 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++ ) {