]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - collision.h
do not use non-standard strnlen function
[xonotic/darkplaces.git] / collision.h
index 3b36e220d1fef2959e9512a7be6dd628f7a0e00d..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
+// 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