]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - collision.h
remove support for GL_EXT_compiled_vertex_array extension
[xonotic/darkplaces.git] / collision.h
index e673381ede73576993b707e370340d8f8b1e5a25..52c52e87c14997c535a01f96cafed97b7238d603 100644 (file)
@@ -171,8 +171,11 @@ void Collision_ShortenTrace(trace_t *trace, float shorten_factor, const vec3_t e
 // 3 = spew detailed trace flow (bsp tree recursion info)
 #define COLLISIONPARANOID 0
 
-// make every trace 1qu longer, and shorten the result, to work around a stupid bug somewhere
-//#define COLLISION_STUPID_TRACE_ENDPOS_IN_SOLID_WORKAROUND
+// make every trace <collision_endposnudge>qu longer, and shorten the result, to work around a stupid bug somewhere
+#define COLLISION_STUPID_TRACE_ENDPOS_IN_SOLID_WORKAROUND
+#ifdef COLLISION_STUPID_TRACE_ENDPOS_IN_SOLID_WORKAROUND
+extern cvar_t collision_endposnudge;
+#endif
 
 
 #endif