]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fix a stupid error in moving paths
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Mon, 23 Mar 2009 13:48:12 +0000 (13:48 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Mon, 23 Mar 2009 13:48:12 +0000 (13:48 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@226 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/q3map2/path_init.c

index 538502d162219608122f13e8fd5e0736ecc97481..cce52117b67fedc10efc04c6850a4f2f2e13671a 100644 (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 */