Collision: insert a really stupid workaround: make every trace 1qu longer, and retroa...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 3 Aug 2009 11:53:47 +0000 (11:53 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 3 Aug 2009 11:53:47 +0000 (11:53 +0000)
commit4b0a7e004b37e521e5708ee268b980f268420238
treeaec088c7293ec0dc64a5de6af9f47a51d73c3fcc
parent39f74d0929dd12a1cd850e2ef0b22a7154efb03f
Collision: insert a really stupid workaround: make every trace 1qu longer, and retroactively shrink the trace when done.

Bug this works around for: when doing a trace from A to B, B being just slightly inside solid, the trace ends "successfully" with fraction 1. However, a trace starting in B will be startsolid. This workaround removes this inconsistency, which sometimes causes map fallthrough, and should have no other side effects, not even a noticable performance impact.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9085 d7cf8633-e32d-0410-b094-e92efae38249
cl_collision.c
collision.c
collision.h
sv_phys.c