From afe3aebe6fe4e18df3d9ee07def1d263379ab4be Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 23 Mar 2009 13:48:12 +0000 Subject: [PATCH] fix a stupid error in moving paths git-svn-id: svn://svn.icculus.org/netradiant/trunk@226 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/path_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.2