From: Walter Doekes Date: Wed, 13 Apr 2022 21:50:40 +0000 (+0200) Subject: fix bobtoolz exclusion list path X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b24f0d673ffd2e963b00a8ea0cf1ad6ac2a906dc;p=xonotic%2Fnetradiant.git fix bobtoolz exclusion list path "Failed To Load Exclusion List: /usr/bin/plugins/bt/bt-el1.txt" when clicking on Tree Planter. Now it's rightly loaded from "/usr/share/netradiant/plugins/bt/bt-el1.txt". --- diff --git a/contrib/bobtoolz/misc.cpp b/contrib/bobtoolz/misc.cpp index f73c9787..b0f7bcfb 100644 --- a/contrib/bobtoolz/misc.cpp +++ b/contrib/bobtoolz/misc.cpp @@ -384,7 +384,7 @@ void MakeNormal( const vec_t* va, const vec_t* vb, const vec_t* vc, vec_t* out ) } char* GetFilename( char* buffer, const char* filename ) { - strcpy( buffer, GlobalRadiant().getAppPath() ); + strcpy( buffer, GlobalRadiant().getDataPath() ); strcat( buffer, "plugins/" ); strcat( buffer, filename ); return buffer;