]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/brush.h
compile fix ;)
[xonotic/netradiant.git] / radiant / brush.h
index 319bcf2262acb0fc050ddac56e6ddf6393b0d974..38ee475d8110b1ef74d9a5f38524c3b5b198d8b8 100644 (file)
@@ -3268,7 +3268,7 @@ public:
       // also draw a line indicating the direction of the cut
          Vector3 lineverts[2];
          Winding_Centroid(m_winding, m_plane, lineverts[0]);
-         lineverts[1] = vector3_added(lineverts[0], vector3_scaled(m_plane.normal(), g_MaxWorldCoord * 4));
+         lineverts[1] = vector3_added(lineverts[0], vector3_scaled(m_plane.normal(), Brush::m_maxWorldCoord * 4));
 
          glVertexPointer(3, GL_FLOAT, sizeof(Vector3), &lineverts[0]);
          glDrawArrays(GL_LINES, 0, GLsizei(2));