From 8cb094c8701e42df7749ec6691543e636160de4c Mon Sep 17 00:00:00 2001 From: thilo Date: Fri, 16 Jun 2006 20:47:29 +0000 Subject: Little fix for the sanity check fix from previous rev... git-svn-id: svn://svn.icculus.org/quake3/trunk@805 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/files.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'code') 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++ ) { -- cgit v1.2.3