From: divverent Date: Sun, 8 Mar 2009 20:55:52 +0000 (+0000) Subject: compile fix ;) X-Git-Tag: svn-r421~206 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=749ab6b3faa39b358f90b9594dc2d81e3082f8b9;p=xonotic%2Fnetradiant.git compile fix ;) git-svn-id: svn://svn.icculus.org/netradiant/trunk@214 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/radiant/brush.h b/radiant/brush.h index 319bcf22..38ee475d 100644 --- a/radiant/brush.h +++ b/radiant/brush.h @@ -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));