]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/CPortals.h
* applied patch by StefanV (from mailinglist) that fixes an error in config.py (broke...
[xonotic/netradiant.git] / contrib / bobtoolz / CPortals.h
index 71f399b71eb1cf5ab741be89babad6e5c2c2c379..60506be8492787e42bc2e3578e3f180c2a047f68 100644 (file)
@@ -17,6 +17,8 @@ License along with this library; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#include "StdAfx.h"    // Added by ClassView
+
 class CBspPoint {
 public:
        float p[3];
@@ -45,8 +47,6 @@ public:
 };
 
 
-#define NAME_MAX 255
-
 class CPortals {
 public:
 
@@ -56,7 +56,7 @@ public:
        void Load(); // use filename in fn
        void Purge();
 
-       char fn[NAME_MAX];
+       char fn[PATH_MAX];
        CBspNode *node;
 
        unsigned int node_count;