From: divverent Date: Mon, 23 Mar 2009 13:48:12 +0000 (+0000) Subject: fix a stupid error in moving paths X-Git-Tag: svn-r421~194 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=afe3aebe6fe4e18df3d9ee07def1d263379ab4be;p=xonotic%2Fnetradiant.git fix a stupid error in moving paths git-svn-id: svn://svn.icculus.org/netradiant/trunk@226 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/tools/quake3/q3map2/path_init.c b/tools/quake3/q3map2/path_init.c index 538502d1..cce52117 100644 --- a/tools/quake3/q3map2/path_init.c +++ b/tools/quake3/q3map2/path_init.c @@ -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 */