aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-06-16 20:47:29 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-06-16 20:47:29 +0000
commit8cb094c8701e42df7749ec6691543e636160de4c (patch)
treeca5572cc6a2be60d721f9193d4ac3fd65f803602 /code
parent3289134ae36f4389fe8f5c229f79617fab27cd0f (diff)
downloadioquake3-aero-8cb094c8701e42df7749ec6691543e636160de4c.tar.gz
ioquake3-aero-8cb094c8701e42df7749ec6691543e636160de4c.zip
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
Diffstat (limited to 'code')
-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++ ) {