]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/CPortals.h
Merge commit 'af4e2d29cfd3a54b44eb09e4289f3fa3f29412c9' into garux-merge
[xonotic/netradiant.git] / contrib / bobtoolz / CPortals.h
index bc601f09dab564434aa17df922630af089008a1a..fc55553130eb2b6f6a0daa4c3496430bc63e51b4 100644 (file)
@@ -17,8 +17,6 @@
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "StdAfx.h" // Added by ClassView
-
 class CBspPoint {
 public:
 float p[3];
@@ -47,6 +45,8 @@ CBspNode();
 };
 
 
+#define NAME_MAX 255
+
 class CPortals {
 public:
 
@@ -56,7 +56,7 @@ CPortals();
 void Load();     // use filename in fn
 void Purge();
 
-char fn[PATH_MAX];
+char fn[NAME_MAX];
 CBspNode *node;
 
 unsigned int node_count;