fix a stupid error in moving paths

git-svn-id: svn://svn.icculus.org/netradiant/trunk@226 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent 2009-03-23 13:48:12 +00:00
parent b222e12c36
commit afe3aebe6f

View File

@ -280,7 +280,7 @@ void AddHomeBasePath( char *path )
return;
/* make a hole */
for( i = 0; i < (MAX_BASE_PATHS - 1); i++ )
for( i = (MAX_BASE_PATHS - 2); i >= 0; i-- )
basePaths[ i + 1 ] = basePaths[ i ];
/* concatenate home dir and path */